in reply to Automatically export all subs in a module
I ended up using this:
hth,@EXPORT = grep {defined *{$My::Module::{$_}}{CODE} } keys %My::Module: +: ;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Automatically export all subs in a module
by chip (Curate) on Dec 19, 2001 at 23:43 UTC | |
by runrig (Abbot) on Dec 19, 2001 at 23:59 UTC | |
by andye (Curate) on Dec 20, 2001 at 00:08 UTC | |
by runrig (Abbot) on Dec 20, 2001 at 00:12 UTC | |
by andye (Curate) on Dec 20, 2001 at 00:14 UTC | |
by George_Sherston (Vicar) on Dec 20, 2001 at 20:44 UTC | |
|
Re: Re: Automatically export all subs in a module
by George_Sherston (Vicar) on Dec 19, 2001 at 20:18 UTC |