<?xml version="1.0" encoding="windows-1252"?>
<node id="992008" title="Re: Change package name on the fly?" created="2012-09-06 01:41:58" updated="2012-09-06 01:41:58">
<type id="11">
note</type>
<author id="290288">
Plankton</author>
<data>
<field name="doctext">
You could build and install the same version of Perl on your system twice.  Just when you run &lt;code&gt;Configure&lt;/code&gt; to build and install your second version use &lt;code&gt;--prefix=/some/where/else&lt;/code&gt;.  Then install the module you want to test in both Perl's.  Something like
&lt;code&gt;
$ /where/you/put/bin/perl -MCPAN shell
cpan&gt; install NWCLARK/Foo-Bar-0.02.tar.gz
...
$ /some/where/else/bin/perl -MCPAN shell
cpan&gt; install NWCLARK/Foo-Bar-0.01.tar.gz
&lt;/code&gt;  
Then in your test script just change the shebang.</field>
<field name="root_node">
991961</field>
<field name="parent_node">
991961</field>
</data>
</node>
