in reply to Re^2: Module development: concurrent versions (Updated)
in thread Module development: concurrent versions (Updated)
which outputs (as desired):use warnings; use strict; unshift @INC, "temp31"; require "temp31/Math/GMPz.pm"; print $Math::GMPz::VERSION, "\n"; unshift @INC, "temp32"; require "temp32/Math/GMPz.pm"; print $Math::GMPz::VERSION, "\n";
and just goes to prove that one can easily (albeit a bit kludgily) load 2 different versions of the same perl extension into the same script.0.31 0.32
Not sure why that happens - perhaps some %INC manipulation would counter it.0.32 Math::GMPz object version 0.32 does not match bootstrap parameter 0.31 + at C:/_32/ap1007/lib/DynaLoader.pm line 224. Compilation failed in require at try.pl line 10.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Module development: concurrent versions (Updated)
by Anonyrnous Monk (Hermit) on Dec 23, 2010 at 11:44 UTC | |
by syphilis (Archbishop) on Dec 23, 2010 at 12:04 UTC | |
by BrowserUk (Patriarch) on Dec 23, 2010 at 17:32 UTC | |
by stefbv (Priest) on Dec 24, 2010 at 09:05 UTC | |
by BrowserUk (Patriarch) on Dec 24, 2010 at 10:06 UTC | |
by Anonyrnous Monk (Hermit) on Dec 23, 2010 at 13:34 UTC |