good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: Automatically add all defined functions to your @EXPORTby merlyn (Sage) |
on Jun 21, 2005 at 15:53 UTC ( [id://468723]=note: print w/replies, xml ) | Need Help?? |
I realize you struck that out, but I just tested, and even though creating an anonymous subroutine pokes an __ANON__ into the symbol table, the defined test fails, so this would never pick up on that. Unless you happened to also call a subroutine __ANON__. -- Randal L. Schwartz, Perl hacker
In Section
Cool Uses for Perl
|
|