|
|
| Perl-Sensitive Sunglasses | |
| PerlMonks |
Re^6: A refactoring trapby adrianh (Chancellor) |
| on Aug 18, 2005 at 11:46 UTC ( #484725=note: print w/ replies, xml ) | Need Help?? |
|
The problem with while (my $line = <DATA>) {} is real, it's just obscure ARRRRGH! :-) As has already been pointed out this hasn't been a problem for some time. Perl automatically adds the defined for you, as you can easily see by running:
This hasn't been a problem for Perl for quite some time, and I wish people wouldn't keep saying it is ;-)
In Section
Meditations
|
|
||||||||||||||||||||||