Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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

by mattriff (Chaplain)
on Jul 01, 2002 at 02:32 UTC ( #178453=note: print w/replies, xml ) Need Help??


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

I second theorbtwo's recommendation to use Vars(), but in quick testing it looks like you can declare a hash and pass a reference to it as an argument to ReadParse():
my %vars; CGI::ReadParse(\%vars);
I used %vars to illustrate it could have any name, but of course you could use %in if you needed for compatibility.

UPDATE: And clintp is right on both counts, by the way. So, if you are going to use ReadParse() you are probably best off declaring our %in; and forgetting about it. But "there's more than one way to do it," and all of that. :)

- Matt Riffle

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (1)
As of 2022-01-27 05:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (70 votes). Check out past polls.

    Notices?