I have to admit it... you just thoroughly confused me with that post.
Of course it is valid to get an undef! Otherwise you'd never get out of the loop. The loop checks for definedness.
But why go to the trouble of writing a client and server to show it?
$ perl -le '1 while ($l = <>); print "undef!" unless defined $l' < /de +v/null undef!
-sauoq "My two cents aren't worth a dime.";
In reply to Re: Re: Re^2: To Kill a Meme: while(defined($line = <>))
by sauoq
in thread To Kill a Meme: while(defined($line = <>))
by sauoq
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |