This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix RT #77468: Smart matching on slices
authorDavid Leadbeater <dgl@dgl.cx>
Sat, 28 Aug 2010 21:39:58 +0000 (22:39 +0100)
committerRafael Garcia-Suarez <rgs@consttype.org>
Tue, 7 Sep 2010 14:02:59 +0000 (16:02 +0200)
commit329a333e7a4ed898282bec7f485751efbea92e8f
tree58488cbb987c73db35605786b2cac53b495f4e60
parent90d1f214e03568148fd6495efac0f5614cfc0323
Fix RT #77468: Smart matching on slices

ref_array_or_hash did not take aslice or hslice OPs into account; wrap
them in an anonlist so that smart matching has a reference as it
expects.
op.c
t/op/smartmatch.t