On Tue, Sep 19, 2000 at 08:05:50PM -0700, Nathan Wiger wrote:
> > $_ is not ALLCAPS.  @EXPORT_OK should die (see RFC 233).  @ISA is on
> > its way to its grave already, see C<use base>.
> 
> Yeah, but you're still just sidestepping my point. Your position seems
> poised on the hope that no more special variables get introduced, or
> that some of the existing ones go away.

Why not?  This is going to be a very good thing too.

> As for the different namespace for subs thing, I don't think that's the
> way to go. You do have to call special subs directly, at the very least
> from other special subs. And what if you wanted to provide an OO and
> tied interface?
> 
>    sub STORE {
>        # store data
>    }
>    *store = \&STORE;
> 
> If I call $object->store, what will happen if STORE is a special method
> like you propose?

I do not understand what your message is.  If you need to share a
handler and a method, you can always do it like this (as I already explained):

   sub store {
       # store data
   }
   use tie STORE => \&store;

Ilya

Reply via email to