Gibbs Tanton - tgibbs [[EMAIL PROTECTED]] quoth:
*> Here is one way to get what you want:
*>
*>our @ISA = qw(Exporter);
*>our @EXPORT = ();
*>our @EXPORT_OK = qw(myfunc);
Just to point this out since the other examples had a subtle yet important
difference that Gibbs got right.
DO NOT USE @EXPORT ...unless you know what you are doing and have a good
reason to do so.
Use @EXPORT_OK for your functions and try to use unique names for things
when doing so to avoid symbol clashes.
Read the perlmod and Exporter man pages for more info.
e.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]