Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Using an array element as a loop iterator

by Laurent_R (Canon)
on Nov 07, 2013 at 18:14 UTC ( [id://1061608]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $a = [1, 2, 3];
    
  2. or download this
    my @a = (1, 2, 3);
    
  3. or download this
    foreach $a[1](@b)
    
  4. or download this
    foreach @$a[1][@b]
    
  5. or download this
    $a[1]
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-03-28 16:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found