develooper Front page | perl.perl6.language | Postings from January 2010

Re: Custom errors on subsets?

Thread Previous | Thread Next
From:
Solomon Foster
Date:
January 5, 2010 08:52
Subject:
Re: Custom errors on subsets?
Message ID:
6ef7436e1001050852tf96c225ke6ea1a4b27d11411@mail.gmail.com
On Tue, Jan 5, 2010 at 11:36 AM, Ovid
<publiustemp-perl6language2@yahoo.com> wrote:
> --- On Tue, 5/1/10, Solomon Foster <colomon@gmail.com> wrote:
>
>> From: Solomon Foster <colomon@gmail.com>
>
>> > Is this a bug or just documented behavior that I don't
>> know about?
>>
>> fail just returns an uncalled exception.  What does
>> that do in a where block?
>
> I knew it returned an uncalled exception, but I'm still not expecting the sub call to be skipped silently due to a constraint failure.  Silent failures are bad :)

Good point.  :)

-- 
Solomon Foster: colomon@gmail.com
HarmonyWare, Inc: http://www.harmonyware.com

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