Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: || die or or die :)

by ChemBoy (Priest)
on Jul 23, 2003 at 20:41 UTC ( #277330=note: print w/replies, xml ) Need Help??

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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://277330]
[LanX]: ah... Denmark is planning to build a wall at the German border!

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (10)
As of 2018-03-22 18:34 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (283 votes). Check out past polls.