On Thu, Aug 10, 2000 at 12:28:05PM -0400, Dan Sugalski wrote:
> No, it wouldn't, really. We could make "use fatal;" scoped, so that the 
> quit op (or whatever it is) only jumps through all its hoops if the 
> pragma's in effect. If its not, then quit(foo, bar, baz) does a bare return 
> and that's it.
> 
> You'd have the overhead of checking a flag when actually quitting with an 
> error, but that adds a very small amount of overhead to an exceptional case.

Why not make that flag avaliable instead of having a new op ?

The user can then write

  $^fatal ? die .... : return;

Hm, although people may start to mis-use the flag.

Graham.

Reply via email to