Update:
I misread the question. So this answer does not apply. I apologize for all the noise I introduced with my answers
Regards
lin0Hi jrw,
did you try the following?
while ( defined($data = <$fh>) ) { # do something ... # usually: chomp($data); }
Cheers!
lin0In reply to Re: Best way to handle readline errors?
by lin0
in thread Best way to handle readline errors?
by jrw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |