open $fh, '>', "/tmp/blah" or die "File Open Problem: $!";
Whenever you die because of some error, always include both, the reason and the filename! This makes the error diagnosis and remedy much much faster in my experience:
open $fh, '>', "/tmp/blah" or die "File Open Problem with '/tmp/blah': + $!";
In reply to Re^2: file writing permission
by Corion
in thread file writing permission
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |