Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

by guha (Priest)
on Aug 02, 2004 at 19:01 UTC ( #379384=note: print w/ replies, xml ) Need Help??


in reply to Re: Failing inheritance or what can make a Child disinherited ?
in thread Failing inheritance or what can make a Child disinherited ?

s/Client/Child/;

No AUTOLOAD

No declarations

print join(':', @Parent::ISA) # aka empty


Comment on Re^2: Failing inheritance or what can make a Child disinherited ?
Select or Download Code
Replies are listed 'Best First'.
Re^3: Failing inheritance or what can make a Child disinherited ?
by ysth (Canon) on Aug 02, 2004 at 19:13 UTC
    With:
    $code = $obj->can("testSign");
    What does $code->($obj) do? What does use Devel::Peek; Dump $code; show? (Grasping at straws.)
      SV = RV(0x219e9e4) at 0x20cee00 REFCNT = 1 FLAGS = (PADBUSY,PADMY,ROK) RV = 0x20d5b9c SV = PVCV(0x20d508c) at 0x20d5b9c REFCNT = 3 FLAGS = () IV = 0 NV = 0 COMP_STASH = 0x183efdc "main" ROOT = 0x0 XSUB = 0x0 XSUBANY = 0 GVGV::GV = 0x20e9968 "Child" :: "testSign" FILE = "بن♫☻)" DEPTH = 0 FLAGS = 0x0 PADLIST = 0x20d5bc0 OUTSIDE = 0x20fdd38 (UNIQUE)
        Got me; take your code and keep deleting stuff until it is small enough to see what's up or it starts working.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (16)
As of 2015-07-30 12:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (271 votes), past polls