On 04-Jun-2002 Al Tobey wrote:
> Not sure if anybody has mentioned this, but you can run two (or three or
> four) versions of perl on the same machine.  For instance, I install
> perl in /opt/perl5.005_03 and /opt/perl-5.6.1 is the latest.  Soon, I'll
> have /opt/perl-5.8.0RC1.  Just change the #! in your POE scripts to use
> your perl 5.6.1 installation and perl will just do the right thing. 
> Installing in /opt/perl-5.6.1 will not disturb /usr or /usr/local
> installs, but you'll want to be aware of your $PATH variable when
> installing modules.  I usually default the PATH to the "system stable"
> version of perl, which varies between Linux and HP-UX here.  So, to use
> 5.6.1 on HP-UX, I use "export PATH=/opt/perl-5.6.1:$PATH" and see what
> I'm using with "perl -v".
> 
> Not sure if you've already thought of this, but it works for me.

I'm well aware of this.  The problem is that the vast majority of the code
I maintain uses POE and/or mod_perl and is w/o a comprehensive test suite.
So this approche isn't all that useful.

-Philip

Reply via email to