Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Succinct switch statement

by Bloodnok (Vicar)
on Oct 23, 2009 at 23:32 UTC ( [id://802997]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while ($_ = $ARGV[0]) {
       SWITCH:
    ...
          /^--?$/o              and do{shift;             ...; last SWITCH
    +};
       }
    }
    
  2. or download this
    PARSE:
    while (@ARGV) {
    ...
          /^--?$/o              and do {             ...; last PARSE };
       }
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-04-20 02:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found