Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^4: Ternary operators: a hinderance, not a help

by Fletch (Bishop)
on Aug 09, 2005 at 20:20 UTC ( [id://482409]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    number = if logical_test 
               value
             else
               0
             end
    
  2. or download this
    zerg = case foo
           when "bar"
    ...
           else
             raise "Too few Starcraft references"
           end
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (None)
    As of 2024-04-19 00:04 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found