Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (16)
As of 2016-08-31 14:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (431 votes). Check out past polls.