Re: RFC 151 (v2) Merge C<$!>, C<$^E>, C<$@> and C<$?>
[email protected] (Nathan Wiger) Thu, 07 Sep 2000 15:55:15 -0700
| Newsgroups | perl.perl6.language.errors |
|---|---|
| Message-ID | <[email protected]> |
> Merge all these variables into one. Say for the sake of argument that it > is C<$!> (for the mnemonic value of "something went bang"). First off, nice RFC. :-) I've liked this for a while now but haven't commented on it. Though you don't say so (or maybe I missed it), I'm assuming that $! will be a polymorphic object, meaning that: die "Badness: $!" # $!->STRING, same as Perl 5 Still works? I like the other extensions as well. Finally, I'd vote for $! 1000 times over $@; I've always hated $@ because of its direct conflict with sh's $@, which is a completely different beast altogether. -Nate