Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

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?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2022-01-23 21:22 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (64 votes). Check out past polls.