On Mon, Sep 11, 2000 at 01:31:39PM +1100, Damian Conway wrote:
> Or, better still, pass a reference to the actual variable being tied.

Good idea.


> Also notice that I suggested the TIE be called as a method,
> so that it can be inherited if necessary (maybe you had that idea
> already???)

The tie *can* currently be inherited.

    package Tie;  
    sub TIESCALAR { print "Tie::TIESCALAR\n" }  

    package Foo;  
    @ISA = qw(Tie);  

    package Bar;  
    tie $thingy, "Foo"'

Calls Tie::TIESCALAR, as expected.
   

-- 

Michael G Schwern      http://www.pobox.com/~schwern/      [EMAIL PROTECTED]
Just Another Stupid Consultant                      Perl6 Kwalitee Ashuranse
My room-mate has root
I must now be filled with paste
Summers here are hard.
        -- ignatz

Reply via email to