Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

When do we change our replies?

by stevieb (Abbot)
on Apr 15, 2012 at 23:58 UTC ( #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
Node Status?
node history
Node Type: monkdiscuss [id://965211]
Approved by tinita
Front-paged by ww
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2018-01-22 01:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (230 votes). Check out past polls.

    Notices?