in reply to Problem with "use Exporter qw(import);"
There's no need to import 'import' since you're inheriting:
use Exporter; our @ISA = qw(Exporter); our @EXPORT = qw(); our @EXPORT_OK = qw();
Alternatively, if you don't like inheriting from Exporter:
use Exporter; our *import = \&Exporter::import; our @ISA = qw(); # nope, no Exporter our @EXPORT = qw(); our @EXPORT_OK = qw();
|
|---|