in reply to Re: fall through switch/case in perl
in thread fall through switch/case in perl
In his example, a value of '5' would produce "fghij". A value of '2' would produce "ij". Velaki's code recognizes this better.
But I wonder if he might ever have var set to zero? (No output!)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: fall through switch/case in perl
by Aristotle (Chancellor) on Sep 07, 2004 at 00:38 UTC | |
by tachyon (Chancellor) on Sep 07, 2004 at 00:44 UTC | |
by Aristotle (Chancellor) on Sep 07, 2004 at 00:46 UTC | |
by tachyon (Chancellor) on Sep 07, 2004 at 00:49 UTC | |
by Rhys (Pilgrim) on Sep 07, 2004 at 11:47 UTC | |
| |
by Aristotle (Chancellor) on Sep 07, 2004 at 01:04 UTC | |
|