Mombu the Programming Forum sponsored links

Go Back   Mombu the Programming Forum > Programming > Can I use a module under another name
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 22nd April 23:01
erik stoy
External User
 
Posts: 1
Default 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
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666