Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: One module to use them all (proxy moudle that exports subs of other modules)

by LanX (Saint)
on Sep 04, 2022 at 20:56 UTC ( [id://11146683]=note: print w/replies, xml ) Need Help??


in reply to Re^2: One module to use them all (proxy moudle that exports subs of other modules)
in thread One module to use them all (proxy moudle that exports subs of other modules)

> The OP has existing modules which do not have an import function because they do not have use EXPORTER;.

Sorry, this doesn't make sense.

You can have a sub import function without using the customized one provided from the module Exporter °

And without import no way to export.

Hence if the OP wanted to call those module-subs fully qualified anyway (because they are not exported) there wouldn't be any problem. He could just require the modules, and call the subs in their native package.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

°) have a look at the provided Two.pm "using its own import()"

  • Comment on Re^3: One module to use them all (proxy moudle that exports subs of other modules)
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-19 22:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found