Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: "x ? y : z" notation

by davido (Cardinal)
on Mar 26, 2009 at 04:58 UTC ( [id://753340]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print( "x was " . $x == 1 ? "'1'" : "someting else" );
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-04-18 22:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found