in reply to Re: open failure code
in thread open failure code
You could also use this type of contruct
it's not any better at all just making you aware of another option.open(FH,"<".$log) ? print "opened\n" : print "unable to open $!\n";
Grygonos
In Section
Seekers of Perl Wisdom