Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Failing inheritance or what can make a Child disinherited ?

by guha (Priest)
on Aug 02, 2004 at 18:16 UTC ( [id://379356]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $o = Child->new;
    print ref($o);  #Child
    ...
    my $method = 'testSign';
    my $code = $o->can($method);
    print $code; # CODE(0x20d5b94)
    
  2. or download this
    $o->$method()
    
  3. or download this
    $o->$code()
    
  4. or download this
    perl -v  #AS-635
    
  5. or download this
        my %_init_mems = (
            Password    =>     \&testPassword,
    ...
            Name        =>    \&testNameX2,
            Titel        =>    \&testStrX,
        );
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://379356]
Approved by chromatic
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-23 22:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found