There's more than one way to do things | |
PerlMonks |
Re^2: Rethrowing with die $@ considered harmfulby Ieronim (Friar) |
on Jul 18, 2006 at 07:48 UTC ( [id://561949]=note: print w/replies, xml ) | Need Help?? |
In my own code i always local'ize $_ using for, as recommended in Camel III:
Solution 2It's IMO even more readable than the local $_ variant, and passes all your tests. s;;Just-me-not-h-Ni-m-P-Ni-lm-I-ar-O-Ni;;tr?IerONim-?HAcker ?d;print
In Section
Meditations
|
|