Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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?
NodeReaper says "Shhhh! Be vewy vewy quiet, I'm hunting wumpus"

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2017-08-18 13:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (303 votes). Check out past polls.

    Notices?