in reply to Re: fall through switch/case in perl
in thread fall through switch/case in perl
eval { goto 'L'.($var+0) }; die "$var out of range"; L10: print "a"; L9: print "b"; L8: print "c"; L7: print "d"; L6: print "e"; L5: print "f"; L4: print "g"; L3: print "h"; L2: print "i"; L1: print "j"; print "\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: fall through switch/case in perl
by Aristotle (Chancellor) on Sep 07, 2004 at 01:25 UTC | |
|
Re^3: fall through switch/case in perl
by BrowserUk (Patriarch) on Sep 07, 2004 at 01:46 UTC | |
by etcshadow (Priest) on Sep 07, 2004 at 02:52 UTC | |
by BrowserUk (Patriarch) on Sep 07, 2004 at 04:10 UTC | |
by etcshadow (Priest) on Sep 07, 2004 at 05:44 UTC | |
by BrowserUk (Patriarch) on Sep 07, 2004 at 05:57 UTC | |
| |
by Anonymous Monk on Sep 07, 2004 at 08:43 UTC | |
|