Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

(jeffa) 5Re: (Ovid - Why I love nested If-Else blocks)

by jeffa (Bishop)
on Jan 04, 2002 at 04:30 UTC ( [id://136160]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      ||
      :
      ||
    
  2. or download this
    my $func = ($foo > 7)
      ?  $bar && \&bar_mysub
    ...
      || $qux && \&qux_other_mysub
    ;
    $func->($foo) if $func;
    
  3. or download this
      ||
      :
      ||
    

Log In?
Username:
Password:

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

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

    No recent polls found