in reply to Best way to handle readline errors?
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!
lin0
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Best way to handle readline errors?
by jrw (Monk) on Nov 11, 2006 at 01:13 UTC | |
by lin0 (Curate) on Nov 11, 2006 at 03:06 UTC | |
by ikegami (Patriarch) on Nov 11, 2006 at 03:17 UTC | |
by lin0 (Curate) on Nov 11, 2006 at 05:27 UTC |