The contents of @ISA are what determines inheritance in Perl. use base sets @ISA and your assignment of @ISA= 'Exporter' overwrites that.
Are you sure that you really want to do both, export from your package and have your package a class? Usually, a class doesn't need to export anything, especially not its constructors.
In reply to Re: Exporter/@ISA confusion
by Corion
in thread Exporter/@ISA confusion
by qhen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |