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

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

by jeffa (Bishop)
on Jan 04, 2002 at 04:30 UTC ( #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
Node Status?
node history
Node Type: note [id://136160]
help
Chatterbox?
LanX hails himself \o
[choroba]: Can't touch this... ♪ ♫
LanX ("To be or not to be" from Ernst Lubitsch)
[choroba]: holli The video is best when watched after Damian's talk (not sure if it's online already)
[ambrus]: I'm currently teaching to a co-worker about the stupid bugs and misfeatures and workarounds my current program has. The ones that I will have to eventually fix, but we have to use the programs now before I have time to fix it.
[holli]: "three little words", you mean
[ambrus]: Some of them are rather embarrassing historical misfeatures. One I partly worked around right now as I told him.
[holli]: `?
[choroba]: yes

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2017-11-21 13:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (301 votes). Check out past polls.

    Notices?