There's more than one way to do things | |
PerlMonks |
Re^2: adding a column of integersby Eimi Metamorphoumai (Deacon) |
on Sep 02, 2004 at 14:19 UTC ( [id://387920]=note: print w/replies, xml ) | Need Help?? |
Or more verbose, but more understandable (without delving into the actual expansion of -n)
The END block is executed after everything else. You can also use a corresponding BEGIN block before anything else runs, and there are others (CHECK and INIT, having to do with compile time) for fancy stuff.
In Section
Seekers of Perl Wisdom
|
|