mjoyce has asked for the wisdom of the Perl Monks concerning the following question:
perlmodule.pmBEGIN { unshift(@INC,".../sharedlib2.0") } use sharedlib; use perlmodule; #call subroutine in perlmodule dependent on sharedlib1.0"
BEGIN { unshift(@INC, ".../sharedlib1.0") } use sharedlib; sub perlsub { #call some function in sharedlib }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: "use"ing different versions of same perl module
by John M. Dlugosz (Monsignor) on May 06, 2011 at 20:47 UTC | |
|
Re: "use"ing different versions of same perl module
by suaveant (Parson) on May 06, 2011 at 20:34 UTC | |
|
Re: "use"ing different versions of same perl module
by Anonymous Monk on May 07, 2011 at 00:36 UTC | |
by John M. Dlugosz (Monsignor) on May 07, 2011 at 00:56 UTC |