in reply to Re: (jeffa) 3Re: My first stab at OO perl...
in thread My first stab at OO perl...
Here I go replying to myself again... :-)
Your code *does* allow for inheritance, it just doesn't allow for someone to create a new instance by calling $foo->new() on an already made instance. Right?
So: I now get it. Though, personally, I'd rather have it die immediately than not work correctly. And, btw, it's rather confusing to have that bit in perltoot(1).
Thanks for making me think about this! :)
-Dan
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: (jeffa) 3Re: My first stab at OO perl...
by Theseus (Pilgrim) on Jul 17, 2002 at 20:26 UTC |
In Section
Seekers of Perl Wisdom