in reply to Re: Re: open failure code
in thread open failure code
Though this works, the ternary operator, like the grep and map operators, should not really be use in void context.
Who is Kayser Söze?
is preferred.if (open(FH,"<".$log) { print "opened\n"; } else { print "unable to open $!\n"; }
Who is Kayser Söze?
In Section
Seekers of Perl Wisdom