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

Re: Worst thing you ever made with Perl

by Roger (Parson)
on Sep 29, 2003 at 01:20 UTC ( [id://294843]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # Mundane C style "for" loop
    for ($i = 0; $i < 100; $i++)
    {
       print "$i\n";
    }
    
  2. or download this
    # Perl style "for" loop
    print "$_\n" for 0..99;
    
    # or this
    map { print "$_\n" } 0..99;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2024-04-16 05:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found