How do I do I build a list of subs at BEGIN time without trying to parse Perl?
package Foo; BEGIN { # &routine is not yet defined and therefore # can't be added to any list } sub routine { ... }
Or am I missing something obvious?
Cheers,
Ovid
New address of my CGI Course.
In reply to Re^2: Detecting an imported function (exclude time)
by Ovid
in thread Detecting an imported function
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |