Living with smart match breakage

Marcel Grünauer hanekomu at
Thu Jun 13 22:28:05 BST 2013

On Jun 13, 2013, at 11:15 PM, gvim <gvimrc at> wrote:

> 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.

Unfortunately my crystal ball is in the shop this week, so maybe if you could post the relevant code, it might be possible to give a relevant answer as to whether the relevant issue is relevant to the relevant code.


More information about the mailing list