<div>Hello and thanks!</div>
<div>&nbsp;</div>
<div>Both of your replies were absolutely awesome! Thanks&nbsp;so much. I think I was using #!/root/localperl/bin/perl last night but it was still giving me &quot;Perl v.5.10.0 required --this is only v.5.8.8&quot;, then again I am a newbie and I might of been doing something wrong. I know I ran the&nbsp;entire install&nbsp;as root&nbsp;so that might of caused problems too?&nbsp;Permissions seem to give me the most problems when&nbsp;doing something like this.&nbsp;Regardlesss,&nbsp;I am at work right now&nbsp;but as soon as I can get out of here I will head home and try <strong><u>both</u></strong> of those options. I&#39;ll let you know how it goes. Thanks again, these are the best responses I&#39;ve recieved&nbsp;<u>by far!</u> </div>

<div>&nbsp;</div>
<div>I hope to attend one your meetings very soon as well!</div>
<div>&nbsp;</div>
<div>Thanks,</div>
<div>Jim Casey<br><br></div>
<div class="gmail_quote">On Thu, Jan 15, 2009 at 11:16 AM, <span dir="ltr">&lt;<a href="mailto:raleigh-talk-request@pm.org">raleigh-talk-request@pm.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Send Raleigh-talk mailing list submissions to<br>&nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:raleigh-talk@pm.org">raleigh-talk@pm.org</a><br>
<br>To subscribe or unsubscribe via the World Wide Web, visit<br>&nbsp; &nbsp; &nbsp; &nbsp;<a href="http://mail.pm.org/mailman/listinfo/raleigh-talk" target="_blank">http://mail.pm.org/mailman/listinfo/raleigh-talk</a><br>or, via email, send a message with subject or body &#39;help&#39; to<br>
&nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:raleigh-talk-request@pm.org">raleigh-talk-request@pm.org</a><br><br>You can reach the person managing the list at<br>&nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:raleigh-talk-owner@pm.org">raleigh-talk-owner@pm.org</a><br>
<br>When replying, please edit your Subject line so it is more specific<br>than &quot;Re: Contents of Raleigh-talk digest...&quot;<br><br><br>Today&#39;s Topics:<br><br>&nbsp; 1. Perl Newbie question about upgrade from Perl 5.8.8 &nbsp; &nbsp; &nbsp; &nbsp;to 5.10 (J C)<br>
&nbsp; 2. Re: Perl Newbie question about upgrade from Perl &nbsp;5.8.8 to<br>&nbsp; &nbsp; &nbsp;5.10 (Rob West)<br>&nbsp; 3. Re: Perl Newbie question about upgrade from Perl &nbsp;5.8.8 to<br>&nbsp; &nbsp; &nbsp;5.10 (Mike South)<br>&nbsp; 4. Re: Perl Newbie question about upgrade from Perl &nbsp;5.8.8 to<br>
&nbsp; &nbsp; &nbsp;5.10 (Rob West)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Wed, 14 Jan 2009 23:36:51 -0500<br>From: &quot;J C&quot; &lt;<a href="mailto:jim.x.casey@gmail.com">jim.x.casey@gmail.com</a>&gt;<br>
Subject: [Raleigh-talk] Perl Newbie question about upgrade from Perl<br>&nbsp; &nbsp; &nbsp; &nbsp;5.8.8 &nbsp; to 5.10<br>To: <a href="mailto:raleigh-talk@pm.org">raleigh-talk@pm.org</a><br>Message-ID:<br>&nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:107395a40901142036nd61eb7dsdb38b3d753974267@mail.gmail.com">107395a40901142036nd61eb7dsdb38b3d753974267@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br><br>Hi,<br><br>I bought the O&#39;Reilly 5th edition Learning Perl the other day and it&#39;s<br>great. I am new to programming and Perl as well. I do know my way<br>
around Linux but I am having problems upgrading from the version that<br>was on my OS (Cent OS 5.2) to 5.10. I downloaded Perl 5.10 from<br><a href="http://www.cpan.org/authors/id/R/RG/RGARCIA/perl-5.10.0.tar.gz" target="_blank">http://www.cpan.org/authors/id/R/RG/RGARCIA/perl-5.10.0.tar.gz</a>, then<br>
tar -xvzf perl-5.10.0.tar.gz the package in /usr/local/bin &nbsp; I then<br>followed the README guide that said to:<br><br>./Configure -des -Dprefix=$HOME/localperl<br>&nbsp;make test<br>&nbsp;make install<br><br>Now, the first command was probably my mistake because I really have<br>
no idea what that would do. I figured that I could simply use the<br>shebang after make test and make install was done &quot;doing it&#39;s thing&quot;<br>and type out #!*/usr/local/bin/perl-5.10.0 or &nbsp;#!/usr/local/bin/*<br>
perl-5.10 and everything was work just fine and I would be using Perl<br>5.10 This obviously is not the case as now it tells me I still have<br>5.8.8 installed. I know this is probably a very common problem and<br>I&#39;ll try and do all the research I can when I find the time but if any<br>
of you that are a lot more experienced could help me out and &quot;put me<br>in the right direction&quot; that would be great.<br><br>Here is the code from the book (page 68) I am trying to run:<br>---------------------------------------------------------------------------------------<br>
#!/usr/local/bin/perl-5.10.0 &nbsp; &nbsp; # I&#39;ve also used perl5.10 and every<br>other thing I could think of...<br>use 5.010;<br>use strict;<br><br>sub marine {<br>&nbsp; &nbsp; &nbsp; &nbsp;$n += 1;<br>&nbsp; &nbsp; &nbsp; &nbsp;print &quot;Hello, sailor number $n!\n&quot;;<br>
}<br><br>&amp;marine;<br>&amp;marine;<br>&amp;marine;<br>----------------------------------------------------------------------------------------<br>And here is the output I am getting when I try running it:<br>Perl v.5.10.0 required --this is only v.5.8.8<br>
----------------------------------------------------------------------------------------<br><br>I&#39;ve also noticed that now there&#39;s a perl5.10.0 located in the */root/*<br>localperl/bin so I am sure it has something to do with the<br>
above .Configure command. Can anyone give me some advice on how to get<br>5.10 working? I feel like I am close, but nothing so far.<br><br>thanks in advance,<br>jim<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://mail.pm.org/pipermail/raleigh-talk/attachments/20090114/d43e1fb3/attachment-0001.html" target="_blank">http://mail.pm.org/pipermail/raleigh-talk/attachments/20090114/d43e1fb3/attachment-0001.html</a>&gt;<br>
<br>------------------------------<br><br>Message: 2<br>Date: Thu, 15 Jan 2009 09:16:32 -0500<br>From: Rob West &lt;<a href="mailto:robertfwest@gmail.com">robertfwest@gmail.com</a>&gt;<br>Subject: Re: [Raleigh-talk] Perl Newbie question about upgrade from<br>
&nbsp; &nbsp; &nbsp; &nbsp;Perl &nbsp; &nbsp;5.8.8 to 5.10<br>To: <a href="mailto:raleigh-talk@pm.org">raleigh-talk@pm.org</a><br>Message-ID:<br>&nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:a9e5040901150616o6c93f4e9k443e6aa98c1afb30@mail.gmail.com">a9e5040901150616o6c93f4e9k443e6aa98c1afb30@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br><br>Welcome Jim,<br><br>I think what you need to do is set prefix to /usr/local if you want perl<br>installed to /usr/local/bin.<br><br>So, the configure command would change to:<br>
<br>./Configure -des -Dprefix=/usr/local<br><br>Your other option is to leave perl installed at /root/localperl and change<br>the shebang line to:<br>#!/root/localperl/bin/perl<br><br>I hope this helps,<br>Rob<br><br>On Wed, Jan 14, 2009 at 11:36 PM, J C &lt;<a href="mailto:jim.x.casey@gmail.com">jim.x.casey@gmail.com</a>&gt; wrote:<br>
<br>&gt; Hi,<br>&gt;<br>&gt; I bought the O&#39;Reilly 5th edition Learning Perl the other day and it&#39;s<br>&gt; great. I am new to programming and Perl as well. I do know my way<br>&gt; around Linux but I am having problems upgrading from the version that<br>
&gt;<br>&gt; was on my OS (Cent OS 5.2) to 5.10. I downloaded Perl 5.10 from<br>&gt; <a href="http://www.cpan.org/authors/id/R/RG/RGARCIA/perl-5.10.0.tar.gz" target="_blank">http://www.cpan.org/authors/id/R/RG/RGARCIA/perl-5.10.0.tar.gz</a>, then<br>
&gt;<br>&gt; tar -xvzf perl-5.10.0.tar.gz the package in /usr/local/bin &nbsp; I then<br>&gt; followed the README guide that said to:<br>&gt;<br>&gt; ./Configure -des -Dprefix=$HOME/localperl<br>&gt; &nbsp; make test<br>&gt; &nbsp; make install<br>
&gt;<br>&gt; Now, the first command was probably my mistake because I really have<br>&gt;<br>&gt; no idea what that would do. I figured that I could simply use the<br>&gt; shebang after make test and make install was done &quot;doing it&#39;s thing&quot;<br>
&gt; and type out #!*/usr/local/bin/perl-5.10.0 or &nbsp;#!/usr/local/bin/*<br>&gt;<br>&gt; perl-5.10 and everything was work just fine and I would be using Perl<br>&gt; 5.10 This obviously is not the case as now it tells me I still have<br>
&gt; 5.8.8 installed. I know this is probably a very common problem and<br>&gt; I&#39;ll try and do all the research I can when I find the time but if any<br>&gt;<br>&gt; of you that are a lot more experienced could help me out and &quot;put me<br>
&gt; in the right direction&quot; that would be great.<br>&gt;<br>&gt; Here is the code from the book (page 68) I am trying to run:<br>&gt; ---------------------------------------------------------------------------------------<br>
&gt;<br>&gt; #!/usr/local/bin/perl-5.10.0 &nbsp; &nbsp; # I&#39;ve also used perl5.10 and every<br>&gt; other thing I could think of...<br>&gt; use 5.010;<br>&gt; use strict;<br>&gt;<br>&gt; sub marine {<br>&gt; &nbsp; &nbsp; &nbsp; $n += 1;<br>&gt; &nbsp; &nbsp; &nbsp; print &quot;Hello, sailor number $n!\n&quot;;<br>
&gt;<br>&gt; }<br>&gt;<br>&gt; &amp;marine;<br>&gt; &amp;marine;<br>&gt; &amp;marine;<br>&gt; ----------------------------------------------------------------------------------------<br>&gt; And here is the output I am getting when I try running it:<br>
&gt; Perl v.5.10.0 required --this is only v.5.8.8<br>&gt;<br>&gt; ----------------------------------------------------------------------------------------<br>&gt;<br>&gt; I&#39;ve also noticed that now there&#39;s a perl5.10.0 located in the */root/*<br>
&gt;<br>&gt; localperl/bin so I am sure it has something to do with the<br>&gt; above .Configure command. Can anyone give me some advice on how to get<br>&gt; 5.10 working? I feel like I am close, but nothing so far.<br>&gt;<br>
&gt; thanks in advance,<br>&gt;<br>&gt; jim<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; Raleigh-talk mailing list<br>&gt; <a href="mailto:Raleigh-talk@pm.org">Raleigh-talk@pm.org</a><br>
&gt; <a href="http://mail.pm.org/mailman/listinfo/raleigh-talk" target="_blank">http://mail.pm.org/mailman/listinfo/raleigh-talk</a><br>&gt;<br>&gt;<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://mail.pm.org/pipermail/raleigh-talk/attachments/20090115/57698d25/attachment-0001.html" target="_blank">http://mail.pm.org/pipermail/raleigh-talk/attachments/20090115/57698d25/attachment-0001.html</a>&gt;<br>
<br>------------------------------<br><br>Message: 3<br>Date: Thu, 15 Jan 2009 08:31:03 -0600<br>From: Mike South &lt;<a href="mailto:msouth@gmail.com">msouth@gmail.com</a>&gt;<br>Subject: Re: [Raleigh-talk] Perl Newbie question about upgrade from<br>
&nbsp; &nbsp; &nbsp; &nbsp;Perl &nbsp; &nbsp;5.8.8 to 5.10<br>To: <a href="mailto:raleigh-talk@pm.org">raleigh-talk@pm.org</a><br>Message-ID:<br>&nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:c56d3710901150631m628204f6ye03470fa55922f42@mail.gmail.com">c56d3710901150631m628204f6ye03470fa55922f42@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=ISO-8859-1<br><br>On Wed, Jan 14, 2009 at 10:36 PM, J C &lt;<a href="mailto:jim.x.casey@gmail.com">jim.x.casey@gmail.com</a>&gt; wrote:<br>&gt; Hi,<br>&gt;<br>&gt; I bought the O&#39;Reilly 5th edition Learning Perl the other day and it&#39;s<br>
&gt; great. I am new to programming and Perl as well. I do know my way<br>&gt; around Linux but I am having problems upgrading from the version that<br>&gt;<br>&gt; was on my OS (Cent OS 5.2) to 5.10. I downloaded Perl 5.10 from<br>
&gt; <a href="http://www.cpan.org/authors/id/R/RG/RGARCIA/perl-5.10.0.tar.gz" target="_blank">http://www.cpan.org/authors/id/R/RG/RGARCIA/perl-5.10.0.tar.gz</a>, then<br>&gt;<br>&gt; tar -xvzf perl-5.10.0.tar.gz the package in /usr/local/bin &nbsp; I then<br>
&gt; followed the README guide that said to:<br>&gt;<br>&gt; ./Configure -des -Dprefix=$HOME/localperl<br>&gt; &nbsp; make test<br>&gt; &nbsp; make install<br>&gt;<br>&gt; Now, the first command was probably my mistake because I really have<br>
&gt;<br>&gt; no idea what that would do. I figured that I could simply use the<br>&gt; shebang after make test and make install was done &quot;doing it&#39;s thing&quot;<br>&gt; and type out #!/usr/local/bin/perl-5.10.0 or &nbsp;#!/usr/local/bin/<br>
&gt;<br>&gt; perl-5.10 and everything was work just fine and I would be using Perl<br>&gt; 5.10 This obviously is not the case as now it tells me I still have<br>&gt; 5.8.8 installed. I know this is probably a very common problem and<br>
&gt; I&#39;ll try and do all the research I can when I find the time but if any<br>&gt;<br>&gt; of you that are a lot more experienced could help me out and &quot;put me<br>&gt; in the right direction&quot; that would be great.<br>
&gt;<br>&gt; Here is the code from the book (page 68) I am trying to run:<br>&gt; ---------------------------------------------------------------------------------------<br>&gt;<br>&gt; #!/usr/local/bin/perl-5.10.0 &nbsp; &nbsp; # I&#39;ve also used perl5.10 and every<br>
&gt; other thing I could think of...<br>&gt; use 5.010;<br>&gt; use strict;<br>&gt;<br>&gt; sub marine {<br>&gt; &nbsp; &nbsp; &nbsp; $n += 1;<br>&gt; &nbsp; &nbsp; &nbsp; print &quot;Hello, sailor number $n!\n&quot;;<br>&gt;<br>&gt; }<br>&gt;<br>&gt; &amp;marine;<br>
&gt; &amp;marine;<br>&gt; &amp;marine;<br>&gt; ----------------------------------------------------------------------------------------<br>&gt; And here is the output I am getting when I try running it:<br>&gt; Perl v.5.10.0 required --this is only v.5.8.8<br>
&gt;<br>&gt; ----------------------------------------------------------------------------------------<br>&gt;<br>&gt; I&#39;ve also noticed that now there&#39;s a perl5.10.0 located in the /root/<br>&gt;<br>&gt; localperl/bin so I am sure it has something to do with the<br>
&gt; above .Configure command.<br><br>You are right--what you have done is said &quot;I want to make an<br>installation of perl 5.10 in /root/localperl&quot;. &nbsp;The idea of that<br>configuration option (which would normally be done as a regular user)<br>
is that you can experiment with the new version of perl in your own<br>local directory (hence the $HOME) even if you don&#39;t have root access<br>to the machine you are working on.<br><br>&gt;Can anyone give me some advice on how to get<br>
&gt; 5.10 working? I feel like I am close, but nothing so far.<br><br>Well, one thing you can try, just to see if what you did worked, is<br>change the shebang line in your test script to<br><br>#!/root/localperl/bin/perl<br>
<br>But I&#39;m not sure what the permissions on /root/localperl are going to<br>be. &nbsp;So, unless you run it as root, you might just get an error that<br>says you don&#39;t have permission to run that. &nbsp;The idea of that<br>
configure command is that you run the configure command as the user<br>you are going to run perl as.<br><br>You might just want to start over and do this as a regular user. &nbsp;Make<br>a directory called src/ in your home directory, copy<br>
perl-5.10.0.tar.gz to that directory, and unpack it there (tar xzvf as<br>you did before). &nbsp;Then run the configure, make, make install just like<br>you did before. &nbsp;This time you should end up with a directory called<br><br>
/home/jcasey/localperl/bin<br><br>and it will have the perl 5.10 executable in it.<br><br>So a shebang line of<br><br>#!/home/jcasey/localperl/bin/perl<br><br>should then work.<br><br>You might want to just make sure that it works and everything before<br>
trying to overwrite the perl on your system, which the system may be<br>using to get things done.<br><br>[Rob&#39;s answer came in as I was writing this.]<br><br>The way Rob suggested, rerunning configure with prefix set to<br>
/usr/local/, will put 5.10 in /usr/local/bin/perl. &nbsp;I think CentOS has<br>perl in /usr/bin/perl. &nbsp;If that&#39;s right (you can check with &quot;which<br>perl&quot;), and you do what Rob suggests, you will get 5.10 in<br>/usr/local/bin/perl, and the system can keep using the perl it was<br>
already using, in /usr/bin/perl. &nbsp;That should be a pretty safe option,<br>too, and is probably the normal way to do things.<br><br>As the other perl mongers can tell you, I never come around to the<br>normal way of doing things except by excessively circuitous routes.<br>
<br>mike<br><br>&gt;<br>&gt; thanks in advance,<br>&gt;<br>&gt; jim<br>&gt;<br>&gt; _______________________________________________<br>&gt; Raleigh-talk mailing list<br>&gt; <a href="mailto:Raleigh-talk@pm.org">Raleigh-talk@pm.org</a><br>
&gt; <a href="http://mail.pm.org/mailman/listinfo/raleigh-talk" target="_blank">http://mail.pm.org/mailman/listinfo/raleigh-talk</a><br>&gt;<br>&gt;<br><br><br>------------------------------<br><br>Message: 4<br>Date: Thu, 15 Jan 2009 10:16:37 -0500<br>
From: Rob West &lt;<a href="mailto:robertfwest@gmail.com">robertfwest@gmail.com</a>&gt;<br>Subject: Re: [Raleigh-talk] Perl Newbie question about upgrade from<br>&nbsp; &nbsp; &nbsp; &nbsp;Perl &nbsp; &nbsp;5.8.8 to 5.10<br>To: <a href="mailto:raleigh-talk@pm.org">raleigh-talk@pm.org</a><br>
Message-ID:<br>&nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:a9e5040901150716q443948e6hdafd7fbb96dcae21@mail.gmail.com">a9e5040901150716q443948e6hdafd7fbb96dcae21@mail.gmail.com</a>&gt;<br>Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>CentOS definitely has its system perl executable in /usr/bin.<br><br>As Mike suggested, you should probably be a normal user for doing the<br>configure and make test. You&#39;ll need to sudo the make install if you want to<br>
put it in /usr/local but not if under $HOME.<br><br>Good luck,<br>Rob<br><br>On Thu, Jan 15, 2009 at 9:31 AM, Mike South &lt;<a href="mailto:msouth@gmail.com">msouth@gmail.com</a>&gt; wrote:<br><br>&gt; On Wed, Jan 14, 2009 at 10:36 PM, J C &lt;<a href="mailto:jim.x.casey@gmail.com">jim.x.casey@gmail.com</a>&gt; wrote:<br>
&gt; &gt; Hi,<br>&gt; &gt;<br>&gt; &gt; I bought the O&#39;Reilly 5th edition Learning Perl the other day and it&#39;s<br>&gt; &gt; great. I am new to programming and Perl as well. I do know my way<br>&gt; &gt; around Linux but I am having problems upgrading from the version that<br>
&gt; &gt;<br>&gt; &gt; was on my OS (Cent OS 5.2) to 5.10. I downloaded Perl 5.10 from<br>&gt; &gt; <a href="http://www.cpan.org/authors/id/R/RG/RGARCIA/perl-5.10.0.tar.gz" target="_blank">http://www.cpan.org/authors/id/R/RG/RGARCIA/perl-5.10.0.tar.gz</a>, then<br>
&gt; &gt;<br>&gt; &gt; tar -xvzf perl-5.10.0.tar.gz the package in /usr/local/bin &nbsp; I then<br>&gt; &gt; followed the README guide that said to:<br>&gt; &gt;<br>&gt; &gt; ./Configure -des -Dprefix=$HOME/localperl<br>&gt; &gt; &nbsp; make test<br>
&gt; &gt; &nbsp; make install<br>&gt; &gt;<br>&gt; &gt; Now, the first command was probably my mistake because I really have<br>&gt; &gt;<br>&gt; &gt; no idea what that would do. I figured that I could simply use the<br>&gt; &gt; shebang after make test and make install was done &quot;doing it&#39;s thing&quot;<br>
&gt; &gt; and type out #!/usr/local/bin/perl-5.10.0 or &nbsp;#!/usr/local/bin/<br>&gt; &gt;<br>&gt; &gt; perl-5.10 and everything was work just fine and I would be using Perl<br>&gt; &gt; 5.10 This obviously is not the case as now it tells me I still have<br>
&gt; &gt; 5.8.8 installed. I know this is probably a very common problem and<br>&gt; &gt; I&#39;ll try and do all the research I can when I find the time but if any<br>&gt; &gt;<br>&gt; &gt; of you that are a lot more experienced could help me out and &quot;put me<br>
&gt; &gt; in the right direction&quot; that would be great.<br>&gt; &gt;<br>&gt; &gt; Here is the code from the book (page 68) I am trying to run:<br>&gt; &gt;<br>&gt; ---------------------------------------------------------------------------------------<br>
&gt; &gt;<br>&gt; &gt; #!/usr/local/bin/perl-5.10.0 &nbsp; &nbsp; # I&#39;ve also used perl5.10 and every<br>&gt; &gt; other thing I could think of...<br>&gt; &gt; use 5.010;<br>&gt; &gt; use strict;<br>&gt; &gt;<br>&gt; &gt; sub marine {<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; $n += 1;<br>&gt; &gt; &nbsp; &nbsp; &nbsp; print &quot;Hello, sailor number $n!\n&quot;;<br>&gt; &gt;<br>&gt; &gt; }<br>&gt; &gt;<br>&gt; &gt; &amp;marine;<br>&gt; &gt; &amp;marine;<br>&gt; &gt; &amp;marine;<br>&gt; &gt;<br>
&gt; ----------------------------------------------------------------------------------------<br>&gt; &gt; And here is the output I am getting when I try running it:<br>&gt; &gt; Perl v.5.10.0 required --this is only v.5.8.8<br>
&gt; &gt;<br>&gt; &gt;<br>&gt; ----------------------------------------------------------------------------------------<br>&gt; &gt;<br>&gt; &gt; I&#39;ve also noticed that now there&#39;s a perl5.10.0 located in the /root/<br>
&gt; &gt;<br>&gt; &gt; localperl/bin so I am sure it has something to do with the<br>&gt; &gt; above .Configure command.<br>&gt;<br>&gt; You are right--what you have done is said &quot;I want to make an<br>&gt; installation of perl 5.10 in /root/localperl&quot;. &nbsp;The idea of that<br>
&gt; configuration option (which would normally be done as a regular user)<br>&gt; is that you can experiment with the new version of perl in your own<br>&gt; local directory (hence the $HOME) even if you don&#39;t have root access<br>
&gt; to the machine you are working on.<br>&gt;<br>&gt; &gt;Can anyone give me some advice on how to get<br>&gt; &gt; 5.10 working? I feel like I am close, but nothing so far.<br>&gt;<br>&gt; Well, one thing you can try, just to see if what you did worked, is<br>
&gt; change the shebang line in your test script to<br>&gt;<br>&gt; #!/root/localperl/bin/perl<br>&gt;<br>&gt; But I&#39;m not sure what the permissions on /root/localperl are going to<br>&gt; be. &nbsp;So, unless you run it as root, you might just get an error that<br>
&gt; says you don&#39;t have permission to run that. &nbsp;The idea of that<br>&gt; configure command is that you run the configure command as the user<br>&gt; you are going to run perl as.<br>&gt;<br>&gt; You might just want to start over and do this as a regular user. &nbsp;Make<br>
&gt; a directory called src/ in your home directory, copy<br>&gt; perl-5.10.0.tar.gz to that directory, and unpack it there (tar xzvf as<br>&gt; you did before). &nbsp;Then run the configure, make, make install just like<br>&gt; you did before. &nbsp;This time you should end up with a directory called<br>
&gt;<br>&gt; /home/jcasey/localperl/bin<br>&gt;<br>&gt; and it will have the perl 5.10 executable in it.<br>&gt;<br>&gt; So a shebang line of<br>&gt;<br>&gt; #!/home/jcasey/localperl/bin/perl<br>&gt;<br>&gt; should then work.<br>
&gt;<br>&gt; You might want to just make sure that it works and everything before<br>&gt; trying to overwrite the perl on your system, which the system may be<br>&gt; using to get things done.<br>&gt;<br>&gt; [Rob&#39;s answer came in as I was writing this.]<br>
&gt;<br>&gt; The way Rob suggested, rerunning configure with prefix set to<br>&gt; /usr/local/, will put 5.10 in /usr/local/bin/perl. &nbsp;I think CentOS has<br>&gt; perl in /usr/bin/perl. &nbsp;If that&#39;s right (you can check with &quot;which<br>
&gt; perl&quot;), and you do what Rob suggests, you will get 5.10 in<br>&gt; /usr/local/bin/perl, and the system can keep using the perl it was<br>&gt; already using, in /usr/bin/perl. &nbsp;That should be a pretty safe option,<br>
&gt; too, and is probably the normal way to do things.<br>&gt;<br>&gt; As the other perl mongers can tell you, I never come around to the<br>&gt; normal way of doing things except by excessively circuitous routes.<br>&gt;<br>
&gt; mike<br>&gt;<br>&gt; &gt;<br>&gt; &gt; thanks in advance,<br>&gt; &gt;<br>&gt; &gt; jim<br>&gt; &gt;<br>&gt; &gt; _______________________________________________<br>&gt; &gt; Raleigh-talk mailing list<br>&gt; &gt; <a href="mailto:Raleigh-talk@pm.org">Raleigh-talk@pm.org</a><br>
&gt; &gt; <a href="http://mail.pm.org/mailman/listinfo/raleigh-talk" target="_blank">http://mail.pm.org/mailman/listinfo/raleigh-talk</a><br>&gt; &gt;<br>&gt; &gt;<br>&gt; _______________________________________________<br>
&gt; Raleigh-talk mailing list<br>&gt; <a href="mailto:Raleigh-talk@pm.org">Raleigh-talk@pm.org</a><br>&gt; <a href="http://mail.pm.org/mailman/listinfo/raleigh-talk" target="_blank">http://mail.pm.org/mailman/listinfo/raleigh-talk</a><br>
&gt;<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: &lt;<a href="http://mail.pm.org/pipermail/raleigh-talk/attachments/20090115/99b157c7/attachment.html" target="_blank">http://mail.pm.org/pipermail/raleigh-talk/attachments/20090115/99b157c7/attachment.html</a>&gt;<br>
<br>------------------------------<br><br>_______________________________________________<br>Raleigh-talk mailing list<br><a href="mailto:Raleigh-talk@pm.org">Raleigh-talk@pm.org</a><br><a href="http://mail.pm.org/mailman/listinfo/raleigh-talk" target="_blank">http://mail.pm.org/mailman/listinfo/raleigh-talk</a><br>
<br><br>End of Raleigh-talk Digest, Vol 19, Issue 1<br>*******************************************<br></blockquote></div><br>