Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^4: strange boolean algebra behaviour

by remiah (Hermit)
on Apr 05, 2012 at 15:21 UTC ( #963696=note: print w/replies, xml ) Need Help??


in reply to Re^3: strange boolean algebra behaviour
in thread strange boolean algebra behaviour

When you use the -p option, the output also includes parentheses even when they are not required by precedence, which can make it easy to see if perl is parsing your expressions the way you intended.

thank you. maybe easier to see.

perl -MO=Deparse,-p -anle "print $F[3];" tmp.txt
This showed me what is -a,n,l.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://963696]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2017-12-13 13:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (368 votes). Check out past polls.

    Notices?