Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
and I would like to call each in turn:
foreach $function (LIST_OF_FUNCTIONS) {
if ($function ~= /^mod_/) {
&$function();
}
}
How do I get the list of all functions in context right now ?
Thanks.
Pat
patrickn@tygerteam.com
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Looping on function names
by btrott (Parson) on Jul 19, 2000 at 23:05 UTC | |
|
(chromatic) Re: Looping on function names
by chromatic (Archbishop) on Jul 19, 2000 at 23:09 UTC | |
by eduardo (Curate) on Jul 20, 2000 at 07:16 UTC | |
|
Re: Looping on function names
by lhoward (Vicar) on Jul 19, 2000 at 23:24 UTC |