http://www.perlmonks.org?node_id=277330


in reply to || die or or die :)
in thread system & shell metacharacters

I've got a string, the || operator, then the die -- does that qualify as an EXPR?
Yes, it does (as you seem to have discovered): since || is higher precedence than the comma, it's parsed roughly as open ( FILEHANDLE, ("filename" || die( ...) ) ); Since your string is always true, the die is never reached.



If God had meant us to fly, he would *never* have given us the railroads.
    --Michael Flanders