Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2025-02-07 04:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which URL do you most often use to access this site?












    Results (94 votes). Check out past polls.