Ken Slater <kenslate...@gmail.com> writes:

>
> It is a good idea to avoid using $_ in production code:
>
> http://perl-begin.org/tutorials/bad-elements/#overuse_dollar_underscore
>
> So write it as:
>
> while (my $l = <$ch>) {
>       print $l;
> }

Again, easy enough to do.  and no doubt it would be good.

But why is this important?


-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to