open my $fh, "<foo.txt" || die("This will never die!");
The || binds too tight in this case, producing a very nasty silent skip on error checking.
-sam
In reply to Re: Bitten by the || bug
by samtregar
in thread Bitten by the || bug
by Tanktalus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |