in reply to Re^4: Simple inheritance question
in thread Simple inheritance question
Glad you got the solution you needed. I was a little unclear on the original question. I also think it's interesting that One doesn't need a constructor in the object solution. It makes sense, considering that a One is never instantiated. I didn't realize that Perl's package handling let's you "inherit" from a package that isn't actually a class.
We learn something every day if we give ourselves a chance.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: Simple inheritance question
by chromatic (Archbishop) on Apr 23, 2010 at 19:36 UTC |
In Section
Seekers of Perl Wisdom