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?
In reply to Re: perldelta unclear on 'given's fate
by morelenmir
in thread perldelta unclear on 'given's fate
by morelenmir
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |