|
I think that I hit another seeming snag. My version of Exporter doesn't allow this syntax in parent modules / classes:
package YourModule;
use Exporter 'import'; # gives you Exporter's import() method directly
@EXPORT_OK = qw(munge frobnicate); # symbols to export on request
Therefore, I must use the other syntax, which is:
package YourModule;
require Exporter;
@ISA = qw(Exporter);
@EXPORT_OK = qw(munge frobnicate); # symbols to export on request
But the Object::InsideOut docs say this:
"Object::InsideOut acts as a replacement for the base pragma: It loads the parent module(s), calls their import functions, and sets up the sub-class's @ISA array. Therefore, you must not use base ... yourself, or try to set up @ISA arrays."
What to do now?
|