in reply to Re: smart match operator should be smarter!
in thread smart match operator should be smarter!

ikegami said earlier that the smart operator was changed after version 5.10.0. Apparently, it was buggy and too unwieldy to work with. As a result, it is no longer commutative.

$ perl -v

This is perl, v5.10.1 (*) built for darwin-2level

Copyright 1987-2009, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
  • Comment on Re^2: smart match operator should be smarter!