develooper Front page | perl.perl5.porters | Postings from January 2012

Re: another ~~ foible

Thread Previous | Thread Next
From:
Leon Timmermans
Date:
January 17, 2012 11:32
Subject:
Re: another ~~ foible
Message ID:
CAHhgV8gH97oTmrs44B8q7RbTnrXj9T4mv1XL8Yvvnoj5nuf7Mg@mail.gmail.com
n Thu, Jul 7, 2011 at 1:35 AM, Leon Timmermans <fawaka@gmail.com> wrote:
> If you mean changing it to what perlsyn claims it does, I suspect it's
> actually zero. Smartmatch overloading is a rarely used feature, but
> the odds of someone using it on both sides of a match is extremely
> small IMO. (fwiw, Smart::Match already deliberately fails when someone
> tries to use it on the left hand side and I might make it die in the
> future).

Thinking about it more, I'm think my patch is worth it. It may break
an obscure corner case, but it brings some well needed sanity to
smart-matching.

Leon

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About