in reply to Automatically add all defined functions to your @EXPORT
Not only very handy, but IMO, a textbook example of the Snippet genre.
I will make a tiny modification for my use:
...to keep _private_functions and __ANON__...s unexported.grep +( defined &$_ and !/^_/ ), keys %{ __PACKAGE__ . '::'};
Update: I just realized that what I wrote above is almost identical to merlyn's earlier earlier follow-up... D'oh!
the lowliest monk
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Automatically add all defined functions to your @EXPORT
by merlyn (Sage) on Jun 21, 2005 at 15:53 UTC | |
by tlm (Prior) on Jun 21, 2005 at 18:57 UTC |