in reply to Re: Importing multiple %EXPORT_TAGS
in thread Importing multiple %EXPORT_TAGS

What Anonymous Monk is saying is that the first line is already enough:

use Exporter qw(import); our @ISA = qw(Exporter); # don't add this line!

Replies are listed 'Best First'.
Re^3: Importing multiple %EXPORT_TAGS
by stevieb (Canon) on Dec 28, 2020 at 10:04 UTC

    Thank you for this. Almost all of my distributions are Object Oriented, so I rarely ever use Exporter functionality.

      I never use it. I am also in the habit of exporting nothing (, Lewbowski) and using the fully qualified package name. The only time I've see Exporter even remotely useful is a package was just a ton of constants and the combination of namespace and actual variable names was simply too much.

        Out of my 53 CPAN distributions, I've got only 3-4 that aren't OO (so no need to export anything). The rest I use @EXPORT_OK

        Are you saying that you make your users type out the fully qualified name for each function call (ie. Some::Module::Name::function())?