Smart match when a hash is on the RHS
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Wed, 18 Mar 2009 19:20:17 +0000 (20:20 +0100)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Wed, 18 Mar 2009 19:21:59 +0000 (20:21 +0100)
commit61a621c635b84b53e4eb7d27f7e28c7cd3bdf7e6
treee7408df5141734393a0646bf61647839f8ea5414
parent2e0e16c9a7efc2d1fccff9f29d125f34121cb65d
Smart match when a hash is on the RHS

This implement the new semantics of C<~~ HASH> smart matching.
This also reveals that overloading actually does not work at all.
Add also tests for C<undef ~~ %hash>.
pp_ctl.c
t/op/smartmatch.t