At 09:22 PM 8/19/00 -0500, Dave Rolsky wrote:
>On Sat, 19 Aug 2000, Tony Olekshy wrote:
>
> >  die
> >
> >     If argument isa "Exception", raise it as the new exception and
> >     die in the fashion that Perl 5 does.
> >
> >     If argument is a string, wrap it in a new Error object, setting
> >     the message ivar to the given string, and raise that instead.
>
>Actually, the Perl5 die takes a list as its argument and does join '', @_
>to it to make the actual error message.
>
> >     If argument is anything else, raise a run-time exception.
>
>So this probably shouldn't be the case.

This sounds alright; there's something very self-defeating about raising a 
run-time exception from dying badly, if you see what I mean.

So the third case goes and the second one becomes, args are stringified and 
joined on '', etc.

--
Peter Scott
Pacific Systems Design Technologies

Reply via email to