If you're going to release your code to the CPAN, *please* consider whether you really need to export anything by default. In my opinion it's a really bad idea, because even if you carefully document what you're doing so that the user avoids writing anything that will clash with your exported symbols, he may be using other modules which export the same symbols. That leads to incredibly hard-to-debug problems. Much better IMO to make the user write something like ...
use Some::Module qw(:CONSTANTS);
Also bear in mind that someone might be using Exporter::Renaming, which relies on you actually using Exporter to do your exports. So even though Exporter is a bit of a pain sometimes, please don't be tempted to use anything else :-)
In reply to Re: exporter question
by DrHyde
in thread exporter question
by megamic
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |