Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Inheritance and calling a subclass method *from* a baseclass method...

by EvanK (Chaplain)
on Mar 03, 2007 at 02:18 UTC ( [id://603009]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package MyClass;
    
    # fully functional constructor method
    ...
    }
    
    1;
    
  2. or download this
    package MyClass::Implemented;
    
    use base 'MyClass';
    ...
    }
    
    1;
    
  3. or download this
    #!/usr/bin/perl -w
    
    use strict;
    use MyClass::Implemented;
    
    my $obj = new MyClass::Implemented();
    

Log In?
Username:
Password:

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

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

    No recent polls found