Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: Possible precedence issue with control flow operator

by ikegami (Pope)
on Jan 13, 2020 at 18:12 UTC ( #11111369=note: print w/replies, xml ) Need Help??


in reply to Re: Possible precedence issue with control flow operator
in thread Possible precedence issue with control flow operator

There's a third way: Parens can be used to override precedence.

return ( something() or croak "Times are a'croaking" );

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11111369]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2020-09-19 22:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (116 votes). Check out past polls.

    Notices?