>>>>>> "TC" == Tom Christiansen <[EMAIL PROTECTED]> writes:
>>> Currently many programs handle error returns by examining the text of
>>> the error returned in $@. This makes changes in the text of the error
>>> message, an issue for the backwards compatibility police.
>TC> eval { fn() };
>TC> if ($@ == EYOURWHATHURTS) { .... }
>TC> sub fn { die "blindlesnot" }
>I don't understand what you are trying to say.
I'm saying that you can't know what to check for, because you don't
know who generated the exception. Can you use your fancy constants?
And what is "core"? Compiler? Interpreter? Utilities? Pragmata?
Modules?
Citing IBM as a reference is enough to drive a lot of us away screaming.
Try <errno.h> or <sysexits.h> Notice how much nicer this is. Few
values, but usable in varied places.
--tom