<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Wrong perl version in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/wrong-perl-version/m-p/4950906#M103433</link>
    <description>Hello co-admins,&lt;BR /&gt;&lt;BR /&gt;On a "HP-UX iron B.11.11 U 9000/800" server when I type perl -v I get the following message:&lt;BR /&gt;&lt;BR /&gt;This is perl, version 5.005_02 built for PA-RISC1.1 ,etc...&lt;BR /&gt;&lt;BR /&gt;When I do /opt/OV/contrib/perl/bin/perl -v I get the following message:&lt;BR /&gt;&lt;BR /&gt;This is perl, v5.6.1 built for PA-RISC2.0-thread-multi&lt;BR /&gt;&lt;BR /&gt;This is the version 5.6.1 I want. When I do swlist|grep -i perl I get:&lt;BR /&gt;perl B.5.6.1.F      Perl Programming Language&lt;BR /&gt;&lt;BR /&gt;This is the right version.&lt;BR /&gt;&lt;BR /&gt;- How do I remove the old version 5.005_02?&lt;BR /&gt;- When I type perl -v I want to see and use the newer version 5.6.1.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;Erwin&lt;BR /&gt;</description>
    <pubDate>Mon, 09 Jan 2006 08:08:15 GMT</pubDate>
    <dc:creator>Nuon Admin</dc:creator>
    <dc:date>2006-01-09T08:08:15Z</dc:date>
    <item>
      <title>Wrong perl version</title>
      <link>https://community.hpe.com/t5/operating-system-linux/wrong-perl-version/m-p/4950906#M103433</link>
      <description>Hello co-admins,&lt;BR /&gt;&lt;BR /&gt;On a "HP-UX iron B.11.11 U 9000/800" server when I type perl -v I get the following message:&lt;BR /&gt;&lt;BR /&gt;This is perl, version 5.005_02 built for PA-RISC1.1 ,etc...&lt;BR /&gt;&lt;BR /&gt;When I do /opt/OV/contrib/perl/bin/perl -v I get the following message:&lt;BR /&gt;&lt;BR /&gt;This is perl, v5.6.1 built for PA-RISC2.0-thread-multi&lt;BR /&gt;&lt;BR /&gt;This is the version 5.6.1 I want. When I do swlist|grep -i perl I get:&lt;BR /&gt;perl B.5.6.1.F      Perl Programming Language&lt;BR /&gt;&lt;BR /&gt;This is the right version.&lt;BR /&gt;&lt;BR /&gt;- How do I remove the old version 5.005_02?&lt;BR /&gt;- When I type perl -v I want to see and use the newer version 5.6.1.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;Erwin&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Jan 2006 08:08:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/wrong-perl-version/m-p/4950906#M103433</guid>
      <dc:creator>Nuon Admin</dc:creator>
      <dc:date>2006-01-09T08:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong perl version</title>
      <link>https://community.hpe.com/t5/operating-system-linux/wrong-perl-version/m-p/4950907#M103434</link>
      <description>You may want to try this:&lt;BR /&gt;&lt;BR /&gt;After loading the latest Perl version, you will need to rename a file and create a link. &lt;BR /&gt;mv /usr/contrib/bin/perl /usr/contrib/bin/perl.old&lt;BR /&gt;ln -s /opt/perl/bin/perl /usr/contrib/bin/perl&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Jan 2006 08:10:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/wrong-perl-version/m-p/4950907#M103434</guid>
      <dc:creator>Doug Burton</dc:creator>
      <dc:date>2006-01-09T08:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong perl version</title>
      <link>https://community.hpe.com/t5/operating-system-linux/wrong-perl-version/m-p/4950908#M103435</link>
      <description>Forgot to mention that the standard install location is /opt/perl unless things have changed. Just change the link as needed if perl is located in another location.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Jan 2006 08:14:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/wrong-perl-version/m-p/4950908#M103435</guid>
      <dc:creator>Doug Burton</dc:creator>
      <dc:date>2006-01-09T08:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong perl version</title>
      <link>https://community.hpe.com/t5/operating-system-linux/wrong-perl-version/m-p/4950909#M103436</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Or change the order in your PATH variable(.profile /etc/profile).&lt;BR /&gt;&lt;BR /&gt;PATH=/usr/sbin:/OV/contrib/perl/bin/:usr/bin......&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Mon, 09 Jan 2006 08:16:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/wrong-perl-version/m-p/4950909#M103436</guid>
      <dc:creator>Robert-Jan Goossens_1</dc:creator>
      <dc:date>2006-01-09T08:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong perl version</title>
      <link>https://community.hpe.com/t5/operating-system-linux/wrong-perl-version/m-p/4950910#M103437</link>
      <description>5.005_02 is old, but so is 5.6.1&lt;BR /&gt;&lt;BR /&gt;The most recent version of perl in the 5.6.x track is 5.6.2, and the most recent stable is 5.8.7 (with 5.8.8 to be expected in the next couple of weeks)&lt;BR /&gt;&lt;BR /&gt;It might be very worthwhile to consider an upgrade anyway.&lt;BR /&gt;&lt;BR /&gt;FWIW the 5.6.1 version that was shipped with OV does most likely not include all the modules you need, and it is thinkable that new modules won't build against it, since the main reason for 5.6.2 to be released was to have it up to date with more recent operating systems.&lt;BR /&gt;&lt;BR /&gt;Furthermore, the 5.6.x builds are unable to use binary modules from the 5.005_xx branche, since these are binary incompatible.&lt;BR /&gt;&lt;BR /&gt;Fetch 5.8.7 from:&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Languages/perl-5.8.7/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Languages/perl-5.8.7/&lt;/A&gt;&lt;BR /&gt;or from my HP ITRC site pages (please use LA as primary choice):&lt;BR /&gt;&lt;BR /&gt;USA Los Angeles &lt;A href="http://mirrors.develooper.com/hpux/" target="_blank"&gt;http://mirrors.develooper.com/hpux/&lt;/A&gt;&lt;BR /&gt;SGP Singapore   &lt;A href="https://www.beepz.com/personal/merijn/" target="_blank"&gt;https://www.beepz.com/personal/merijn/&lt;/A&gt;&lt;BR /&gt;USA Chicago     &lt;A href="http://ww.hpux.ws/merijn/" target="_blank"&gt;http://ww.hpux.ws/merijn/&lt;/A&gt;&lt;BR /&gt;NL  Hoofddorp   &lt;A href="http://www.cmve.net/~merijn/" target="_blank"&gt;http://www.cmve.net/~merijn/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Enjoy, have FUN! H.Merijn</description>
      <pubDate>Mon, 09 Jan 2006 08:19:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/wrong-perl-version/m-p/4950910#M103437</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2006-01-09T08:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong perl version</title>
      <link>https://community.hpe.com/t5/operating-system-linux/wrong-perl-version/m-p/4950911#M103438</link>
      <description>The 5.00 version that you see is the default one that comes packaged on the 10.20 install cd.  The reason you get that version when you just type perl is that the shell is searching down the list in the path and executing the first "perl" it comes to.  In your case that's the one that came with hp-ux.&lt;BR /&gt;&lt;BR /&gt;There are a couple of approaches to correcting this.  First find out which perl your running using the "which" command.  Then you can either move that path to a location after the path to the perl you want, but you will have to do that for every user who uses this version of perl. Or. You can rename the file to perl.old or something along those lines and then see "which" perl is found next till you get the correct one. Or. You could rename the file and create a symbolic link from perl in that directory to the correct one. Or. You could add an alias in your profile where perl=/yourpath/bin/perl and let the shell take it from there. Or. You could specify which perl you would like to run in the script its self using the #!/yourpath/bin/perl as the first line of each script.&lt;BR /&gt;&lt;BR /&gt;Personally, I would rename the old perl and any other perl executables till except "the one" and also specify the path on the first line of the scripts.&lt;BR /&gt;&lt;BR /&gt;That's the beauty of Unix though, you can approach it how ever you want.&lt;BR /&gt;&lt;BR /&gt;H&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Jan 2006 16:02:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/wrong-perl-version/m-p/4950911#M103438</guid>
      <dc:creator>Howard Marshall</dc:creator>
      <dc:date>2006-01-11T16:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong perl version</title>
      <link>https://community.hpe.com/t5/operating-system-linux/wrong-perl-version/m-p/4950912#M103439</link>
      <description>I have found a solution to this question as seen in the comments below.</description>
      <pubDate>Thu, 12 Jan 2006 06:50:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/wrong-perl-version/m-p/4950912#M103439</guid>
      <dc:creator>Nuon Admin</dc:creator>
      <dc:date>2006-01-12T06:50:12Z</dc:date>
    </item>
  </channel>
</rss>

