Can I use a module under another name

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Erik Stoy

    Can I use a module under another name

    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


Working...