in reply to Failing inheritance or what can make a Child disinherited ?
I'm surprised $o->$method doesn't work, as I use it extensively. What's your OS/Perl version?
You might have to do $code->($o) to make the coderef work.
------
We are the carpenters and bricklayers of the Information Age.
Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose
I shouldn't have to say this, but any code, unless otherwise stated, is untested
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Failing inheritance or what can make a Child disinherited ?
by guha (Priest) on Aug 02, 2004 at 18:34 UTC |
In Section
Seekers of Perl Wisdom