Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: Pearls (not really) of Perl programming

by revdiablo (Prior)
on Nov 24, 2004 at 21:17 UTC ( #410250=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @array = 1 .. 10;
    for my $var (@array) {
    ...
        print "$var\n";
    }
    print "@array\n";
    
  2. or download this
    @array = 1 .. 10;
    for (@array) {
    ...
        print "$var\n";
    }
    print "@array\n";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://410250]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2016-12-10 23:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (166 votes). Check out past polls.