Re: RFC 151 (v2) Merge C<$!>, C<$^E>, C<$@> and C<$?>
[email protected] (Peter Scott) Thu, 07 Sep 2000 17:24:52 -0700
| Newsgroups | perl.perl6.language.errors |
|---|---|
| Message-ID | <[email protected]> |
At 03:55 PM 9/7/00 -0700, Nathan Wiger wrote: > > 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. Yes, that was in there before and was a casualty of bad editing. Thanks for catching it. >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. Ditto. -- Peter Scott Pacific Systems Design Technologies