Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

When do we change our replies?

by stevieb (Curate)
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (15)
As of 2015-07-28 14:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (255 votes), past polls