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 E. Wheeler
Date:
August 22, 2012 13:42
Subject:
Re: fixing smartmatch just hard enough (and when, too)
Message ID:
02D33613-90C9-4028-96AB-1B45CB13F6F6@justatheory.com
On Aug 22, 2012, at 1:39 PM, chromatic wrote:

>> And I would prefer the fatality over an easily-missed ambiguity warning. I
>> want to know when it's doing something ambiguous ASAP, so I can fix it and
>> move on. The fix will always be simple.
> 
> You *can* make this warning fatal in your own code. Going the other direction 
> is more difficult.

Maybe it could be fatal under `use strict` then?

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