in reply to Re: Automatically export all subs in a module
in thread Automatically export all subs in a module
@EXPORT = do { my $pkg = \%My::Module::; grep { defined *{$$pkg{$_}}{CODE} } keys %$pkg };
-- Chip Salzenberg, Free-Floating Agent of Chaos
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Automatically export all subs in a module
by runrig (Abbot) on Dec 19, 2001 at 23:59 UTC | |
|
Re: Re: Re: Automatically export all subs in a module
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 |