Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Undefining subroutines and inheritance

by japhy (Canon)
on Jun 29, 2001 at 00:25 UTC ( [id://92447]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $x = SubClass->new;  # inherits from SuperClass
    
    ...
      $x->FAKE::method;  # calls SuperClass::method
    }
    $x->method;  # calls SubClass::method
    
  2. or download this
    my $x = SubClass->new;  # inherits from SuperClass
    
    ...
      $x->method;  # calls SuperClass::method
    }
    $x->method;  # calls SubClass::method
    
  3. or download this
    my $x = SubClass->new;  # inherits from SuperClass
    
    ...
      };
    }
    $x->method;  # calls SubClass::method
    
  4. or download this
    local &foo;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2024-04-23 19:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found