Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Surprising Precedence/Context

by Anonymous Monk
on Jun 02, 2017 at 18:46 UTC ( [id://1191996]=note: print w/replies, xml ) Need Help??


in reply to Re: Surprising Precedence/Context
in thread Surprising Precedence/Context

When looking at precedence issues, the -p (full parens) Deparse option is helpful.
> perl -MO=Deparse,-p -e 'my($yes2) = defined $bad and -f $bad;' ((my($yes2) = defined($bad)) and (-f $bad));

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (6)
As of 2024-04-23 13:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found