At 12:11 PM 8/10/00 -0400, Bennett Todd wrote: >2000-08-10-11:52:31 Dan Sugalski: > > Why not, then, introduce non-fatal errors and a new keyword to > > throw them? > >Arranging for all the builtins to throw a non-fatal exception would >impose a cost on the rest of the folks, who prefer to have most >errors ignored (the way perl currently works), but who want to just >check for the error return from select calls: they would have to do >things differently. 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. Dan --------------------------------------"it's like this"------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk
- Re: RFC 78 (v1) Improved Module Versioning And Searchi... Larry Wall
- Re: RFC 78 (v1) Improved Module Versioning And Se... Dan Sugalski
- Re: RFC 78 (v1) Improved Module Versioning An... Larry Wall
- Re: RFC 78 (v1) Improved Module Versionin... Dan Sugalski
- Re: RFC 78 (v1) Improved Module Versi... Larry Wall
- Re: RFC 78 (v1) Improved Module ... Dan Sugalski
- Re: RFC 78 (v1) Improved Mod... Chaim Frenkel
- Re: RFC 78 (v1) Improved Mod... Bennett Todd
- Re: RFC 78 (v1) Improved Mod... Dan Sugalski
- Re: RFC 78 (v1) Improved Mod... Bennett Todd
- Re: RFC 78 (v1) Improved Mod... Dan Sugalski
- Re: RFC 78 (v1) Improved Mod... Graham Barr
- Re: RFC 78 (v1) Improved Mod... Dan Sugalski
- errors and their keywords an... David L. Nicol
- Re: errors and their keyword... Peter Scott
- Re: errors and their keyword... Dan Sugalski
- English language basis for &... David L. Nicol
- Re: English language basis f... Jonathan Scott Duff
- Re: English language basis f... Bart Lateur
- Re: English language basis f... Jarkko Hietaniemi
- Re: English language basis f... Dan Sugalski