Courage has asked for the wisdom of the Perl Monks concerning the following question:

Is there exists a way for different versions of a module to "cleanly" coexist with each other?
(for example, I need to coexist Tk-800.024 and Tk-804-025)

Standard sequence

perl Makefile.PL make make test make install
will overwrite elder version.

Probably I need installing into different directory and then use lib ... somehow, but is this possibility already implemented? Available on CPAN? Available in core?

Thanks in advance for useful answers.
Courage, the Cowardly Dog

Replies are listed 'Best First'.
Re: How should I install different versions of a module?
by Ovid (Cardinal) on Sep 21, 2003 at 16:48 UTC

    Check out only by Ingy. You'll have to install both versions using its special install process.

        use only Module => $version_num;

    It actually has quite a bit more functionality than that, but this is what most are looking for.

    Cheers,
    Ovid

    New address of my CGI Course.

      Thank you a lot!

      This is exactly what I tried to find.

      Courage, the Cowardly Dog