Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: map, grep, for, foreach

by Aristotle (Chancellor)
on Jun 06, 2002 at 05:09 UTC ( #172080=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @param = $q->param();
    @input{@param} = map $q->param($_), @param;
    
  2. or download this
    my @param = $q->param();
    @input{@param}=();
    $input{$_} = $q->param($_) for @param;
    
  3. or download this
    @input{$q->param()}=();
    $input{$_} = $q->param($_) for keys %input;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2022-12-08 19:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?