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."