in reply to Re^2: How to export a package sitting lower in a module?
in thread How to export a package sitting lower in a module?
I'm not sure how to explain "You will have to export things from their respective packages." in different words, so I'll do it by example:
package pack_B; require Exporter; @ISA = qw {Exporter}; @EXPORT = qw {third fourth}; ...
This is identical to the respective parts of pack_A, except with the obvious changes for pack_B.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: How to export a package sitting lower in a module?
by HelenCr (Monk) on Apr 22, 2013 at 14:53 UTC | |
by Corion (Patriarch) on Apr 22, 2013 at 14:56 UTC |
In Section
Seekers of Perl Wisdom