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 $. : [$_]";
In reply to Re: Bad file descriptor error
by Corion
in thread Bad file descriptor error
by zing
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |