in reply to Re^3: Creating "parasitic" exports
in thread Creating "parasitic" exports
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; <b>## Add, subtract or overwrite as required.</b>
Well, maybe this is the part I don't get. How can I modify the @import list without overwriting the import() function? If I have to overwrite the import() method to be able to modify the args, then the same question applies -- how do I export from F::C?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Creating "parasitic" exports
by BrowserUk (Patriarch) on Nov 18, 2009 at 19:57 UTC |