in reply to Bad file descriptor error
Maybe you want to improve your error message to also output the offending line, instead of only outputting the number of the offending line?
die "Unknown format in file '$file' line $. : [$_]";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Bad file descriptor error
by zing (Beadle) on Sep 05, 2012 at 08:24 UTC | |
by choroba (Cardinal) on Sep 05, 2012 at 08:25 UTC | |
by zing (Beadle) on Sep 05, 2012 at 08:31 UTC | |
by Corion (Patriarch) on Sep 05, 2012 at 09:01 UTC | |
by Corion (Patriarch) on Sep 05, 2012 at 08:26 UTC |