Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Installing seperate version of Perl.

Reply
Thread Tools

Installing seperate version of Perl.

 
 
TLOlczyk
Guest
Posts: n/a
 
      07-10-2004
I am using Linux and want to debug some code written in a slightly
older version of Pwel. So I want to setup a user who uses that old
version. How do I install it, without mucking up any of the present
perl stuff?


The reply-to email address is .
This is an address I ignore.
To reply via email, remove 2002 and change yahoo to
interaccess,

**
Thaddeus L. Olczyk, PhD

There is a difference between
*thinking* you know something,
and *knowing* you know something.
 
Reply With Quote
 
 
 
 
Sherm Pendley
Guest
Posts: n/a
 
      07-10-2004
TLOlczyk wrote:

> I am using Linux and want to debug some code written in a slightly
> older version of Pwel. So I want to setup a user who uses that old
> version. How do I install it, without mucking up any of the present
> perl stuff?


That's described in the standard installation docs. The key word to look for
there is "prefix".

Let's say you used a prefix of /usr/local/oldperl. The Perl binary would
then be in /usr/local/oldperl/bin, so add that to your user's PATH. Or,
begin scripts that use the old perl with #!/usr/local/oldperl/bin/perl.

sherm--

--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
 
Reply With Quote
 
 
 
 
TLOlczyk
Guest
Posts: n/a
 
      07-10-2004
On Sat, 10 Jul 2004 08:56:02 -0400, Sherm Pendley
<> wrote:

>TLOlczyk wrote:
>
>> I am using Linux and want to debug some code written in a slightly
>> older version of Pwel. So I want to setup a user who uses that old
>> version. How do I install it, without mucking up any of the present
>> perl stuff?

>
>That's described in the standard installation docs. The key word to look for
>there is "prefix".
>
>Let's say you used a prefix of /usr/local/oldperl. The Perl binary would
>then be in /usr/local/oldperl/bin, so add that to your user's PATH. Or,
>begin scripts that use the old perl with #!/usr/local/oldperl/bin/perl.
>

Sorry your answer shows me that I asked the wrong question.
The right question should have been:
"How do I get two different versions of perl to coexist on the same
machine."


The reply-to email address is .
This is an address I ignore.
To reply via email, remove 2002 and change yahoo to
interaccess,

**
Thaddeus L. Olczyk, PhD

There is a difference between
*thinking* you know something,
and *knowing* you know something.
 
Reply With Quote
 
Sherm Pendley
Guest
Posts: n/a
 
      07-10-2004
TLOlczyk wrote:

> Sorry your answer shows me that I asked the wrong question.
> The right question should have been:
> "How do I get two different versions of perl to coexist on the same
> machine."


How is that question any different than your first one?

Like I said - build each version using a different install prefix, as
described in the standard docs that come with the Perl source. You can
install as many different versions that way as disk space and patience
allows.

sherm--

--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
 
Reply With Quote
 
Joe Smith
Guest
Posts: n/a
 
      07-11-2004
TLOlczyk wrote:

>>That's described in the standard installation docs. The key word to look for
>>there is "prefix".
>>
>>Let's say you used a prefix of /usr/local/oldperl. The Perl binary would
>>then be in /usr/local/oldperl/bin, so add that to your user's PATH. Or,
>>begin scripts that use the old perl with #!/usr/local/oldperl/bin/perl.
>>

>
> Sorry your answer shows me that I asked the wrong question.
> The right question should have been:
> "How do I get two different versions of perl to coexist on the same
> machine."


The answer was stated above.
Put one version of perl in /usr/local/bin/perl and the other one
in /usr/local/oldperl/bin/perl.
Both versions (and their libraries) can coexist on the same machine.

Notice that you did not ask "how can I make '/usr/bin/perl' be different
versions to different users". If you had asked that question, I would
have referred you to the chroot() system call and/or executable program.
But you didn't, so Sherm's answer stands.
-Joe
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is load testing a web service with seperate threads from one machinethe same as a single thread from seperate machines? ses Java 5 03-29-2011 03:36 PM
Re: Where to get stand alone Dot Net Framework version 1.1, version2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? MowGreen [MVP] ASP .Net 5 02-09-2008 01:55 AM
Re: Where to get stand alone Dot Net Framework version 1.1, version 2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? PA Bear [MS MVP] ASP .Net 0 02-05-2008 03:28 AM
Re: Where to get stand alone Dot Net Framework version 1.1, version 2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? V Green ASP .Net 0 02-05-2008 02:45 AM
Seperate validation for seperate user controls on same page moondaddy ASP .Net 2 10-16-2006 04:03 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57