Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^4: "defined" in while loop Edit | Delete | Quote | Reply | Private Replyby ikegami (Patriarch) |
on Feb 22, 2009 at 23:55 UTC ( [id://745672]=note: print w/replies, xml ) | Need Help?? |
Yes. It rarely matters, since most uses of <>/readline are for reading newline-terminated lines, which are necessarily true.
It depends on your perception of "this". Perl does many things implicitly, but none other exactly like this.
It's not specific to the symtax, it's specific to the operator. <> (when used to read from a file) and readline are the same operator.
In Section
Seekers of Perl Wisdom
|
|