export vs export_ok
Paul_Marquess at yahoo.co.uk
Thu Nov 15 02:45:34 CST 2001
> hey all,
> i'm currently writing a module hopefully for cpan. The module is
> one function &any.
> I would like to just be able to say
> use This::Thing;
> and then run &any anywhere within that script. I have it working with
> @EXPORT but i know that cpan likes to use @EXPORT_OK but that requires a
> qw(..) thing beside the use part. And i'd rather get away with
> using plain
> "use This::Thing;"
> Any ideas would be of great help.
It you are only exporting one function I would just stick with @EXPORT.
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
More information about the Belfast-pm