in reply to Re: object inheritance in non ~.pm files
in thread object inheritance in non ~.pm files

Thanks Mutant, your fix worked fine and was easy to implement. Thanks also to Dragonchild and Podmaster for suggestions.

For reference, syntax for definition of subclass 'badger' should have been

package mammal::badger; use base qw(mammal);

No direct assignment to @ISA is necessary with this syntax.

VGhpcyBtZXNzYWdlIGludGVudGlvbmFsbHkgcG9pbnRsZXNz