Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: global vars and one liners

by ccn (Vicar)
on Sep 15, 2009 at 19:21 UTC ( #795458=note: print w/ replies, xml ) Need Help??


in reply to Re^2: global vars and one liners
in thread global vars and one liners

It is so called eskimo operator: }{

see perldoc perlrun about -n switch
and compare output of the following two commands

perl -MO=Deparse -ne "$a + $b" perl -MO=Deparse -ne "$a }{ $b"
Note: double quotes because of Windows. Linux requires single quotes for the code given


Comment on Re^3: global vars and one liners
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2014-07-26 00:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls