in reply to Re^2: Lexical $_ in given/when vs. BLOCK arguments
in thread Lexical $_ in given/when vs. BLOCK arguments
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';
|
|---|