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!)
In reply to Re^2: fall through switch/case in perl
by shenme
in thread fall through switch/case in perl
by ykar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |