in reply to
while(<>) { ... } considered harmful
Any module that uses $_ should localize it or any other globals they futz around with IMHO.
-Lee
"To be civilized is to deny one's nature."
Comment on
Re: while(<>) { ... } considered harmful
Replies are listed 'Best First'.
Re: Re: while(<>) { ... } considered harmful
by
IlyaM
(Parson)
on Sep 07, 2002 at 23:49 UTC
I guess it is a time to send patches for 5.8.0 core Perl modules :)
Locale::Country
Locale::Currency
Locale::Language
Locale::Script
It seems all of them touch $_ but do not localize $_.
--
Ilya Martynov (
http://martynov.org/
)
[reply]
In Section
Meditations