Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Failing inheritance or what can make a Child disinherited ?

by dragonchild (Archbishop)
on Aug 02, 2004 at 18:23 UTC ( #379362=note: print w/replies, xml ) Need Help??


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

    WinXp/AS635

    Yeah, $o->$method and the other two variations work in other programs. It also works well in the test script I wrote to exercise the "feature" ;-/

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://379362]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2021-02-25 11:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?