Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Unexpected CGI param behavior

by pc88mxer (Vicar)
on Jun 24, 2008 at 00:47 UTC ( #693640=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @vals = $q->param('...');
    print Dumper(\@vals); # would print [ undef ] not [ ]
    
  2. or download this
    my $var = { first  => scalar $q->param('first'),
                second => scalar $q->param('second'),
              };
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://693640]
help
Chatterbox?
and John Coltrane plays...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (10)
As of 2017-06-26 14:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (582 votes). Check out past polls.