CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Advanced: Re: [tanmay] Perl report format and references to hash is creating header issues in 11g(perl version 5.10.0) but fine in 10g(perl version 5.8.4): Edit Log



FishMonger
Veteran / Moderator

May 27, 2015, 7:57 AM


Views: 33436
Re: [tanmay] Perl report format and references to hash is creating header issues in 11g(perl version 5.10.0) but fine in 10g(perl version 5.8.4)


In Reply To
I can see the code we are using
----Code---------------------------------------------------------------------
use strict 'vars';

and also I can see in common files which reports are using
use strict 'subs';
--------------------------------------------------------------------------------

Why handycap your scripts (and reduce error reporting) by limiting the level of "strict" restrictions? Remove the 'vars' and 'sub' from those statements and add the warnings pragma.


In Reply To
yes we have the ($c, $cntpag)=$_; is there in our code and working correctly in 10g. and the $$cntpag ++ is there in code.and also function name also is as sub WritePageHeader{

How are you calling the sub?

Is that sub declaration inside a loop?

Can you post a more complete code sample so I can see more clearly how it's being used?


(This post was edited by FishMonger on May 27, 2015, 7:59 AM)


Edit Log:
Post edited by FishMonger (Veteran) on May 27, 2015, 7:57 AM
Post edited by FishMonger (Veteran) on May 27, 2015, 7:59 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives