Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

When do we change our replies?

by stevieb (Chaplain)
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 surveying the Monastery: (4)
As of 2015-01-30 00:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My top resolution in 2015 is:

















    Results (245 votes), past polls