develooper Front page | perl.perl6.internals | Postings from July 2004

Re: cvs commit: parrot/ops debug.ops

From:
Leopold Toetsch
Date:
July 6, 2004 12:11
Subject:
Re: cvs commit: parrot/ops debug.ops
Message ID:
200407061821.i66ILNZ16543@thu8.leo.home
Dan Sugalski <dan@cvs.perl.org> wrote:
> cvsuser     04/07/06 09:57:07

>   Modified:    ops      debug.ops
>   Log:

>   add in a die() op to just flat-out die. Right now. Calls the _exit
>   function, and it doesn't get a whole lot more fatal than that.

Couldn't that be wrapped into the C<die_hard> opcode?
E.g.

    if (severity == EXCEPT_doomed)
        _exit(err)

leo



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About