Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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

by mattriff (Chaplain)
on Jul 01, 2002 at 02:32 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2024-04-20 03:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found