Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Building data structures from CGI params

by fullermd (Priest)
on Nov 21, 2010 at 09:44 UTC ( #872768=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    <input type="text" name="foo{bar}" value="barval">
    <input type="text" name="foo{baz}" value="bazval">
    
  2. or download this
    $foo = get_param('foo');
    # $foo = { bar => 'barval', baz => 'bazval' }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://872768]
Approved by Perlbotics
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2017-11-24 19:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (353 votes). Check out past polls.

    Notices?