Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: What namespace is CGI:ReadParse() using?

by clintp (Curate)
on Jul 01, 2002 at 02:16 UTC ( #178450=note: print w/replies, xml ) Need Help??

in reply to What namespace is CGI:ReadParse() using?

Use the fully qualified name of the variable (%main::in) or declare the variable with our %in in your program. (Presumably it's using %main::in. Adjust accordingly otherwise.)

Replies are listed 'Best First'.
Re: Re: What namespace is CGI:ReadParse() using?
by Cody Pendant (Prior) on Jul 01, 2002 at 02:42 UTC
    So, the hash is in the main namespace? And what does one do to make code which uses it strict-proof -- I'm missing something obvious, aren't I?
    ($_='jjjuuusssttt annootthheer pppeeerrrlll haaaccckkeer')=~y/a-z//s;print;
      The bog standard our %in; in main - or if you're using an older Perl, use vars qw(%in);

      Makeshifts last the longest.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://178450]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2017-11-17 17:58 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (270 votes). Check out past polls.