Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: ternary conditional help

by haukex (Archbishop)
on Nov 28, 2016 at 20:42 UTC ( [id://1176733]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -MO=Deparse,-p -e '$x ? $a = 2 : $b = "x";'
    (($x ? ($a = 2) : $b) = 'x');
    $ perl -MO=Deparse,-p -e '$x ? ($a = 2) : ($b = "x");'
    ($x ? ($a = 2) : ($b = 'x'));
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1176733]
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: (4)
As of 2024-04-20 02:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found