open FH, "<", $log and print "Success\n" or print "Failure\n";
That avoids trinaries and if/else's.
Dave
In reply to Re: Re: Re: Re: open failure code
by davido
in thread open failure code
by RolandGunslinger
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |