use Exporter; use vars qw(@ISA); @ISA = qw(Parent);
Did you actually mean to say use Exporter, or rather use Parent? Just in case it hasn't become quite clear from the other replies, there is no reason to load Exporter if all you want is inheritance (except if you want to inherit from Exporter itself, of course).
In reply to Re: Inheritance - calling parent constructor
by almut
in thread Inheritance - calling parent constructor
by bob_dobalina
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |