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

Re: more reliable exception handling

Thread Previous | Thread Next
May 4, 2010 15:44
Re: more reliable exception handling
Message ID:
Ricardo Signes wrote:
>* Zefram <> [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.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About