Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

[Moose] extends(...) throws "Subroutine redefined" warnings

by muba (Priest)
on Oct 07, 2015 at 12:16 UTC ( [id://1144049]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # MyClass.pm
    package MyClass;
    ...
    }
    
    1;
    
  2. or download this
    # SubClass.pm
    package SubClass;
    ...
    extends 'MyClass';
    
    1;
    
  3. or download this
    $ perl -MMyClass -e 0
    Subroutine get_subclass_object redefined at MyClass.pm line 5.
    
    $
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2024-04-18 02:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found