in reply to effect of Switch module on DATA

given has some unusual side effects on $_ and isn't recommended. brian d foy shows a work around at his blog.

Replies are listed 'Best First'.
Re^2: effect of Switch module on DATA
by utku (Acolyte) on Aug 27, 2013 at 11:00 UTC
    Hi all, thanks for the responses. My case is simple enough to use given() at the moment. Perl 5.16.1 has been used. Many thanks again for your kind answers! Regards.