Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: How can I define arrays using foreach loop

by bronto (Priest)
on Jul 17, 2002 at 10:03 UTC ( [id://182370]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      push @{$bigarray[$thearray[$i]]}, [$line, $column[$thearray[$i]];
    
  2. or download this
    foreach my $i (@thearray) {
      push @{$bigarray[$i]}, [$line, $column[$i]];
    }
    

Log In?
Username:
Password:

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

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

    No recent polls found