in reply to Re: File read errors
in thread File read errors

or just add
use autodie;
autodie is magic :)

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.