I think for me it boils down to "given is evil".
I concur. I tried to use given/when on a few occasions and always reverted to something simpler. Altogether just to damn magical for its own good. I seriously doubt I will ever make use of it again.
I much prefer the simple, reliable semantics of use Switch::Perlish 'C';
In reply to Re^3: Lexical $_ in given/when vs. BLOCK arguments
by BrowserUk
in thread Lexical $_ in given/when vs. BLOCK arguments
by mbethke
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |