Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

When do we change our replies?

by stevieb (Monsignor)
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 cooling their heels in the Monastery: (6)
As of 2017-02-23 02:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (338 votes). Check out past polls.