Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: fall through switch/case in perl

by etcshadow (Priest)
on Sep 07, 2004 at 00:27 UTC ( [id://388890]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for ( $var ) {
        my $go;
    ...
        ($go || $_ == 2 ) and $go++, print "i";
        ($go || $_ == 1 ) and $go++, print "j";
    }
    
  2. or download this
    ------------
    :Wq
    Not an editor command: Wq
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-19 07:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found