Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re: Re: Re: Perl Idioms Explained: && and || "Short Circuit" operators

by demerphq (Chancellor)
on Oct 22, 2003 at 23:30 UTC ( #301423=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    switch (val) {
      case 1 : handle_case1; break;
    ...
      case 10: handle_case10;
      default: handle_default; 
    }
    
  2. or download this
    if (val == 1) {
      handle_case1;
    ...
    CASE10:  handle_case10;
    DEFAULT: handle_default;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://301423]
help
Chatterbox?
[marioroy]: MCE::Shared has been refined that it allows sharing Tie::File and hash objects containing {fh} key.
[marioroy]: It's taken so long to take Hobo to a new level. Threads-like and Parallel:: ForkManager management capaiblities.
[marioroy]: This will complete the 4 years in the making and likely time to move on to something els.
[marioroy]: s/els/else.
[marioroy]: The MCE::Hobo::Pool module will come later.

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2017-05-26 08:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?