Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Building data structures from CGI params

by fullermd (Priest)
on Nov 21, 2010 at 09:44 UTC ( [id://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
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-04-18 01:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found