while (1) { while(1) { my $line = <TAIL>; if (!defined($line)) { redo if $! eq 'Interrupted system call'; last; } print $line; } printf "Fell through...\n"; }
-mark
In reply to Re^5: Different perl behavior between V5.10 and V5.14
by markseger
in thread Different perl behavior between V5.10 and V5.14
by markseger
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |