This issue is likely due to a design error that causes the application to fail to verify the existance of a file before writing to it.
This isn't an error, and is easily avoidable, with two different methods, like this:
if (-e '/path/to/somefile') #method one (perldoc -f -X)
{
#method two (die statements, see perldoc -f open)
open(OUTFILE, ">>/path/to/somefile") or die "can't open file: $!";
#or
open(INFILE, "/path/to/somefile") or die "can't open file: $!";
}
Update: Added reference to filetest (-X) perldoc
"Cogito cogito ergo cogito sum - I think that I think, therefore I think that I am." Ambrose Bierce