Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

How should I install different versions of a module?

by Courage (Parson)
on Sep 21, 2003 at 16:23 UTC ( [id://292998]=perlquestion: print w/replies, xml ) Need Help??

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://292998]
Approved by BrowserUk
Front-paged by BrowserUk
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-04-20 01:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found