This isn't quite you had in mind, but not only did I find a case where <> returns an empty string, it does so before the last "line".
>perl -MData::Dumper -e"while (<{,0,a}>) { print Dumper $_ }" $VAR1 = ''; $VAR1 = '0'; $VAR1 = 'a';
A tied handle could do it too, say one that autochomps.
In reply to Re^2: Doubt on defined-ness
by ikegami
in thread Doubt on defined-ness
by waldner
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |