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 25, 2012 17:02
Subject:
Re: fixing smartmatch just hard enough (and when, too)
Message ID:
CAOeq1c-cLuHPNrbRqq0nLN9oDJz=VDwD9AsKRttO4ZmqTX3h8w@mail.gmail.com
On Sat, Aug 25, 2012 at 7:02 PM, Ricardo Signes
<perl.p5p@rjbs.manxome.org>wrote:

>
> Good, because I have favored that working-with-warning behavior for
> ambiguous
> simple scalars.  (What about `$x ~~ $glob`?  That's where I liked
> undef-and-warn.)


What do you think people would intend with that? The only thing I can think
of is "are these referring to the same glob?"  And for that, wouldn't 'eq'
on the stringified references work just fine?

David

-- 
*David Golden* <dagolden@cpan.org>
*Take back your inbox!* → http://www.bunchmail.com/
Twitter/IRC: @xdg

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