in reply to Module 'use' chains
But if you wish to do this, and if every one of the modules used Exporter, then this module will do what you want.
But again. This is a bad idea. Read Code Complete and muse on "loose coupling" to understand why.package Include; use base Exporter; use A; push @EXPORT, @A::EXPORT; use B; push @EXPORT, @B::EXPORT; use C; push @EXPORT, @C::EXPORT; 1;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Module 'use' chains
by merlyn (Sage) on Aug 10, 2006 at 03:01 UTC | |
by tilly (Archbishop) on Aug 10, 2006 at 03:05 UTC | |
|
Re^2: Module 'use' chains
by Vaati (Sexton) on Aug 10, 2006 at 02:29 UTC | |
by graq (Curate) on Aug 10, 2006 at 07:49 UTC |