Welcome to the Monastery | |
PerlMonks |
Re: Change package name on the fly?by Plankton (Vicar) |
on Sep 06, 2012 at 05:41 UTC ( [id://992008]=note: print w/replies, xml ) | Need Help?? |
You could build and install the same version of Perl on your system twice. Just when you run Configure to build and install your second version use --prefix=/some/where/else. Then install the module you want to test in both Perl's. Something like
Then in your test script just change the shebang.
In Section
Seekers of Perl Wisdom
|
|