in reply to Devel::GetSymbols (fka Symbol::List)
with:use Exporter(); @ISA=qw(Exporter); @EXPORT_OK=qw(sub1 sub2 sub3 ... subn);
That isn't saving much effort but it's a nice idea nonetheless. :)use Symbol::List; @EXPORT_OK = Symbol::List::symbols('CODE');
I think it would unnecessarily export private subs too! That is something you might not want to do.
metadoktor
"The doktor is in."
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Symbol::List
by busunsl (Vicar) on Jan 23, 2002 at 16:48 UTC | |
|
Re: Re: Symbol::List
by Juerd (Abbot) on Jan 23, 2002 at 18:11 UTC |