in reply to Re: Writing Modules/namespace polution
in thread Writing Modules/namespace polution
I believe you should "use Exporter" not "require Exporter"
I believe you should "require Exporter" or "use base 'Exporter'" not "use Exporter".
The exporter module defines &Exporter::import so that it can be inheritied by other modules. Calling Exporter::import('Exporter') doesn't really make sense.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Writing Modules/namespace polution
by dragonchild (Archbishop) on Mar 16, 2005 at 18:13 UTC | |
Re^3: Writing Modules/namespace polution
by chas (Priest) on Mar 16, 2005 at 18:26 UTC |