Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: RE: My favorite looping mechanism in Perl is:

by BrentDax (Hermit)
on Jul 06, 2001 at 10:20 UTC ( [id://94391]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for my $i(0..$#array) {   #same thing as your C-like for
        stuff;
    }
    
  2. or download this
    @HPAJ=split("", "rekcaH lreP rentonA tsuJ");
    print reverse @HPAJ;  #sucky but who cares?
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://94391]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (3)
As of 2024-04-24 15:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found