How to use 2 DIFFERENT VERSIONS of the SAME MODULE in the same perl program ?
From: ypetinot (ypetinot_at_hotmail.com)
Date: 06/27/04
- Previous message: Peter J. Acklam: "Re: Need > 15 digits precision without big performance hit"
- Next in thread: Peter Scott: "Re: How to use 2 DIFFERENT VERSIONS of the SAME MODULE in the same perl program ?"
- Reply: Peter Scott: "Re: How to use 2 DIFFERENT VERSIONS of the SAME MODULE in the same perl program ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 27 Jun 2004 12:36:17 -0700
Hi guys,
hopefully somebody will have a clue on how to solve this in a NICE
way.
Here goes :
I have 2 versions of the same perl module. Now what that module
exactly does is somewhat irrelevant to my question, but if u must know
this module is a DBM module. Ok so you got it: i basically have a
database in one format and i want to switch to the upgraded format.
Unfortunately the module which handles that new format is the next
version of the module that handles the old format ... talk of a
headache !
Now my problem is that - obviously ??? - i cannot get perl to load the
same module twice in a single interpreter. Renaming the old or new
module is NOT an option since i have a whole set of libraries which
depend on that one module. Of course i can use a third - intermediary
+ standard - database format to move from my old format to my new
format in a 2 steps (export then import) fashion.
But i wish i could find a way of dealing with 2 versions of the same
module in the same perl program :-P
Any help on this would be very much appreciated ...
cheers,
Yves.
- Previous message: Peter J. Acklam: "Re: Need > 15 digits precision without big performance hit"
- Next in thread: Peter Scott: "Re: How to use 2 DIFFERENT VERSIONS of the SAME MODULE in the same perl program ?"
- Reply: Peter Scott: "Re: How to use 2 DIFFERENT VERSIONS of the SAME MODULE in the same perl program ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|