Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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

by clintp (Curate)
on Jul 01, 2002 at 02:16 UTC ( [id://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?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://178450]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (1)
As of 2024-04-19 18:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found