Perl: the Markov chain saw | |
PerlMonks |
Re: Perl oddities (s/// doesn't DWIM in map)by grinder (Bishop) |
on Mar 01, 2005 at 13:55 UTC ( [id://435426]=note: print w/replies, xml ) | Need Help?? |
I still find myself being tripped up from time to time by the following, even though I should know better:
The above produces the output "1 2 3". To make it DWIM, one must say:
I've always found that odd. (Yes, I know why it works that way). - another intruder with the mooring in the heart of the Perl
In Section
Meditations
|
|