in reply to checking bareword-filehandle
How about changing the open to
If you can't even write to the bitbucket, something is really messed up in your system, so I think it makes sense to die in that case.use File::Spec::Functions qw(devnull); ... if(!open(FH, ">...")) { warn " ... $!..."; open(FH,'>',devnull) or die "$!"; }
--
Ronald Fischer <ynnor@mm.st>
Ronald Fischer <ynnor@mm.st>
|
---|
In Section
Seekers of Perl Wisdom