http://www.perlmonks.org?node_id=1069307


in reply to perldelta unclear on 'given's fate

I shall give all those suggestions a look over chaps! From what has been said here it looks like the desire for a perl 'switch' has been around for quite a long time.

LanX - in regards your snippet; if I understand aright the 'if's are comparing implicitly against $_ without having to explicitly provide a second argument? I am still very woolly about those perl shortcuts!

Either way, the 'next's work like 'break' would in C?