Can I use a module under another name

E

Erik Stoy

I would like to do something similar to Python's "import <module> as
<name>". This way if I want to use another module that offers the same
subroutines I only have to change my "use" statement and not the every line
of the form "&Module::Sub()".

Can I do this?
Or, is there perhaps another, better way of achieving the same kind of
independence.

Erik
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,226
Latest member
KristanTal

Latest Threads

Top