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

Re: Custom errors on subsets?

Thread Previous | Thread Next
From:
Ovid
Date:
January 5, 2010 08:36
Subject:
Re: Custom errors on subsets?
Message ID:
499168.53088.qm@web65711.mail.ac4.yahoo.com
--- 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 :)

Cheers,
Ovid
--
Buy the book         - http://www.oreilly.com/catalog/perlhks/
Tech blog            - http://use.perl.org/~Ovid/journal/
Twitter              - http://twitter.com/OvidPerl
Official Perl 6 Wiki - http://www.perlfoundation.org/perl6



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