laziness, impatience, and hubris | |
PerlMonks |
Re^2: The day of todayby grinder (Bishop) |
on Mar 07, 2008 at 13:16 UTC ( [id://672761]=note: print w/replies, xml ) | Need Help?? |
This example confuses the issue. One might conclude that the + (plus) is necessary, when in fact it's not. It's only there to workaround print's brain-damage. It could be written less ambiguously as:
Note to gtrain: this is technically known as an array slice. You are taking the array of values returned by localtime and slicing out only the fourth (offset 3) element). • another intruder with the mooring in the heart of the Perl
In Section
Seekers of Perl Wisdom
|
|