Keep It Simple, Stupid | |
PerlMonks |
Re: Exporter/@ISA confusionby Bloodnok (Vicar) |
on Jun 09, 2014 at 07:26 UTC ( [id://1089234]=note: print w/replies, xml ) | Need Help?? |
As Corion has already said, the use of Exporter is frowned upon when writing classes, but if you really have to use it in such a way, then try rewriting our @ISA = qw(Exporter); as push @ISA, qw(Exporter); - in this way, rather than being overwritten, @ISA is extended.
A user level that continues to overstate my experience :-))
In Section
Seekers of Perl Wisdom
|
|