on line 54, i keep getting redefinition warnings that
no warnings 'redefine';
cannot silence.
I have multiple independent 'vocabulary' files that import various
namespaces. When used alone, no warnings are given. When i use them as
part of a larger project, i get redefine warnings.
On line 54, if you modify the line to read:
*{"$class\::$ns"} = sub { return $obj }
unless (exists {map { $_ => 1 } @EXPORT_OK}->{$ns});
versus what it is currently:
*{"$class\::$ns"} = sub { return $obj };
the warnings disappear.