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

When do we change our replies?

by stevieb (Canon)
on Apr 15, 2012 at 23:58 UTC ( [id://965211]=monkdiscuss: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @a = qw( a b c );
    
    for ( my $i=0; $i<3; $i++ ){
        say $a[$i];
    }
    
  2. or download this
    for my $elem ( @a ){
        say $elem;
    }
    
  3. or download this
    while ( my ( $iter, $elem ) = each @a ){
        say "Iteration $iter contains $elem";
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: monkdiscuss [id://965211]
Approved by tinita
Front-paged by ww
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2024-03-28 18:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found