develooper Front page | perl.perl5.porters | Postings from May 2010

Re: more reliable exception handling

Thread Previous | Thread Next
From:
Zefram
Date:
May 4, 2010 15:44
Subject:
Re: more reliable exception handling
Message ID:
20100504224431.GB11264@lake.fysh.org
Ricardo Signes wrote:
>* Zefram <zefram@fysh.org> [2010-05-04T16:29:46]
>>     * Where Perl-level warn() is called with no arguments,
>
>Perhaps we should opportunistically call PROPAGATE.

Not PROPAGATE, I think, because this isn't propagating the exception in
the sense that die() does.  It's a different operation, as indicated
by appending different text in the string-exception case.  We could,
however, invent a different magic method for this case.

-zefram

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