Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Ternary operators: a hinderance, not a help

by Joost (Canon)
on Aug 09, 2005 at 15:40 UTC ( [id://482261]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $number = do {
      if ($logical_test) { 
    ...
        0 
      }
    }
    
  2. or download this
    $bla = $some_really_long_calculation_that / $you_just_don_t * $want_to
    +_read_all_the_way_to_the_end if $something;
    

Log In?
Username:
Password:

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

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

    No recent polls found