in reply to Switch.pm Regular Expression matches getting clobbered?

That's endemic to how Switch works, unfortunately. If you're using Perl 5.10 or newer, you can use the given/when construct instead.

Replies are listed 'Best First'.
Re^2: Switch.pm Regular Expression matches getting clobbered?
by AxleUK (Initiate) on Oct 04, 2010 at 23:48 UTC
    Thanks for the heads up on given/when - not heard of it before.