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

Re: fixing smartmatch just hard enough (and when, too)

Thread Previous | Thread Next
From:
David Golden
Date:
August 22, 2012 08:18
Subject:
Re: fixing smartmatch just hard enough (and when, too)
Message ID:
CAOeq1c8s94VAy+odE+y6_7_2mxjn6vy_39zEfmVUnB2MUHHoOw@mail.gmail.com
On Wed, Aug 22, 2012 at 11:15 AM, Jesse Luehrs <doy@tozt.net> wrote:

>
> So maybe what we really want is to move that case down below the "Any ->
> Code" case. If $b is a coderef, I'd expect it to be called with the
> junction, rather than calling the ~~ overload on the left hand side.
>
>
+1

-- David

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