in reply to Switch and __DATA__

Confirmed on the CB (thanks Corion) - this is a problem with a source filter. Switch does some funky things with the source (via regex, I believe), and sometimes it fails.

--MidLifeXis

Replies are listed 'Best First'.
Re^2: Switch and __DATA__
by atend (Acolyte) on Jun 16, 2011 at 13:05 UTC

    Thank you, I'll revert to a hand crafted switch construct then.