Let's take an example...

>         sub *DESTROY {
>             # Perl-special
>         }

How would you call this manually, as you sometimes want to do?

   *DESTROY $self;
   $self->*DESTROY;

So you'd have to redo Perl's parsing of *? Would this override
typeglobs? How would the precedence work? The RFC should address this.

If you want to do this, then I suggest you make the RFC address all the
Perl-special variables too, such as:

   @*INC
   %*ENV
   $*SIG{INT} = \&catch_sig;

Since these chew up namespace too. Just renaming half a dozen subs has
little value-add. Renaming all Perl-special stuff makes it more
consistent.

I'm against the RFC. But I'm just pointing out, if you're going to make
Perl-special stuff look different, then you have to make *ALL*
Perl-special stuff look different, otherwise the language will be marred
with inconsistencies.

Don't forget about Perl classes like *CORE:: and *UNIVERSAL:: too. This
RFC is not just a simple change if you want it to be worthwhile.

-Nate

Reply via email to