Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Re: Flag variables

by IlyaM (Parson)
on Mar 07, 2003 at 11:37 UTC ( #241113=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
        for( my $n = 0; $n < scalar @loop_keys; ++$n ) {
    ...
            }
        }
    
  2. or download this
    
        for my $n ( 0 .. @loop_keys - 1 ) {
    ...
            }
        }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://241113]
help
Chatterbox?
[liz]: ^10 is just a short way of saying 0..^10, which is a short way of saying 0..9
[liz]: ^N is a very common idiom in Perl 6 to indicate "N times"
[liz]: The ^ indicates "exclude endpoint from range"

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2018-07-16 17:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (344 votes). Check out past polls.

    Notices?