Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: "Baby" Perl versus "Bad" Perl

by Your Mother (Chancellor)
on Dec 04, 2005 at 07:57 UTC ( #513923=note: print w/replies, xml ) Need Help??

in reply to "Baby" Perl versus "Bad" Perl

I couldn't resist a few alterations.

  • "for" is for C-style loops and "foreach" is for iterating over arrays.
  • "for" is for piece-rate work and "foreach" is for contractors who charge by the hour.
  • Slices? They've been renamed "subarrays" (though the word "slice" is correctly used in other parts of the book).
  • Slices? Greek? Pad Thai?
  • Matt's Script Archive is one of the top three recommended PERL (sic) resources.
  • Matt's Script Archive, AKA Satan's Scriptorium, top recommended site for increasing SPAM traffic.
  • Who cares if open FH, $file succceeded?
  • Not me! I don't even care if fork() while 1 works! DO NOT RUN THAT!!!
  • Why are we explaining "pack" to new programmers?
  • Silly! So they'll understand what they hear from their manager after they write their first script; i.e.: "Pack your bags."

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (3)
As of 2018-01-21 17:19 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (228 votes). Check out past polls.