|
|
| Come for the quick hacks, stay for the epiphanies. | |
| PerlMonks |
(Re:)**4 Can this If/Else be condensed into a 1 liner with a trailing If?by bwana147 (Pilgrim) |
| on Oct 02, 2001 at 15:08 UTC ( [id://116148]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Actually, whithin a while (<STDIN>) {...}, the $_ contains the trailing \n. So even though a line might contain a lone zero, it will indeed be "0\n", which is definitely true. --bwana147
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||