>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.
eval { fn() };
if ($@ == EYOURWHATHURTS) { .... }
sub fn { die "blindlesnot" }
--tom
- RFC 85 (v2) All perl generated errors should have a un... Perl6 RFC Librarian
- Re: RFC 85 (v2) All perl generated errors should ... Tom Christiansen
- Re: RFC 85 (v2) All perl generated errors sho... Chaim Frenkel
- Re: RFC 85 (v2) All perl generated errors... Tom Christiansen
- Re: RFC 85 (v2) All perl generated er... Chaim Frenkel
- Re: RFC 85 (v2) All perl generat... Tom Christiansen
- Re: RFC 85 (v2) All perl gen... Chaim Frenkel
- Re: RFC 85 (v2) All perl generated errors should ... Brad Hughes
