Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: simplifying a CGI param request

by brian_d_foy (Abbot)
on Apr 07, 2006 at 17:24 UTC ( [id://541932]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    foreach my $number ( 1 .. 25 )
      {
    ...
      # or, without $value
      # printf "q%d: %s\n", $number, param( "q$number" );
      }
    
  2. or download this
    my @array = ( undef, map { scalar param("q$_") } 1 .. 25 );
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://541932]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2024-04-23 11:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found