Living with smart match breakage

gvim gvimrc at
Thu Jun 13 22:15:56 BST 2013

I hear Perl 5.18 issues warnings when the smart match operator is used 
and some convoluted boilerplate is necessary to work around them. Since 
my use of given/when and smart match is quite simplistic I'm wondering 
if the breakage is relevant to the code I write. A quick search hasn't 
produced any definitive list of these edge cases so can anyone point me 
in the right direction? My approach is to keep it simple and defer 
upgrading beyond 5.16 until it's fixed.


More information about the mailing list