Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^4: Importing multiple %EXPORT_TAGS

by perlfan (Vicar)
on Dec 28, 2020 at 18:11 UTC ( #11125887=note: print w/replies, xml ) Need Help??


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

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.

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

    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())?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11125887]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2021-04-11 10:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?