every time the export list changes in Foo::Core, it has to be updated in Foo::Core::Specialized.
Why? Why not just initialise F::C::S's EXPORT* vars from F::C's?
package Foo::Core::Specialised; use Foo::Core ':all'; our @EXPORT = @Foo::Core:@EXPORT; our @EXPORT_OK = @Foo::Core::EXPORT_OK; our %EXPORT_TAGS = %Foo::Core::EXPORT_TAGS; ## Add, subtract or overwrite as required.
That way F::C::S can export everything F::C can unless you explicitly remove it--self maintaining--plus anything you add or overwrite.
In reply to Re^3: Creating "parasitic" exports
by BrowserUk
in thread Creating "parasitic" exports
by sirrobert
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |