in reply to Re: fall through switch/case in perl
in thread fall through switch/case in perl

  1. The OP isn't asking about Duff's device.
  2. Your code isn't Duff's device either.
  3. Your code is inefficient (it's always doing 10 comparisons).
  4. Your code has a pointless for loop.