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

Re: array help

by graff (Chancellor)
on Dec 14, 2002 at 02:44 UTC ( [id://219807]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @another_array = map { $_ * $number_from_stdin } @large_array;
    
  2. or download this
    foreach my $val ( @large_array ) {
       push @another_array, $val * $number_from_stdin;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-25 16:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found