Why not use the Package::sub syntax if you don't want your subroutines to get the package name as the first argument?
Or... use the Exporter module, but list your exported subs & vars in @EXPORT_OK rather than @EXPORT so that people can choose which they want to import. It's impolite to go trampling over someone's namespace without being asked.
--
"Perl makes the fun jobs fun
and the boring jobs bearable" - me
In reply to Re: Exporter
by davorg
in thread Exporter
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |