Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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

by dragonchild (Archbishop)
on Aug 02, 2004 at 18:23 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://379362]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2024-04-25 20:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found