<?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 Perl libraries and @INC in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/perl-libraries-and-inc/m-p/3389929#M31428</link>
    <description>OK, I have Perl 5.6.1 installed on an 11.11 server:&lt;BR /&gt; swlist | grep -i perl&lt;BR /&gt;  perl                                    B.5.6.1.F      Perl Programming Language&lt;BR /&gt;&lt;BR /&gt;But it fails a perl -V:&lt;BR /&gt;perl -V&lt;BR /&gt;Can't locate Config.pm in @INC (@INC contains: /opt/perl5/lib/5.00502/PA-RISC1.1 /opt/perl5/lib/5.00502 /opt/perl5/lib/site_perl/5.005/PA-RISC1.1 /opt/perl5/lib/site_perl/5.005 .).&lt;BR /&gt;BEGIN failed--compilation aborted.&lt;BR /&gt;&lt;BR /&gt;I do have Config.pm, but @INC is pointed wrong:&lt;BR /&gt;/opt/perl/lib/site_perl/5.6.1/PPM/Config.pm&lt;BR /&gt;/opt/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi/Tk/Config.pm&lt;BR /&gt;/opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi/Config.pm&lt;BR /&gt;&lt;BR /&gt;perl -help says I can add paths to the @INC entries with perl -Idirectory  #&lt;UPPER case="" i=""&gt;&lt;BR /&gt;&lt;BR /&gt;But anytime I do the following:&lt;BR /&gt;perl -I/opt/perl/lib/site_perl/5.6.1/PPM&lt;BR /&gt;perl -I/opt/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi/Tk&lt;BR /&gt;perl -I/opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi&lt;BR /&gt;&lt;BR /&gt;All it does is hang.  I even inserted a space between the -I and the paths, still just hangs there.  I figure I must be doing a parameter wrong, but after searching the 'Net for examples, the -I option is just listed as -Idirectory with no examples.  What am I doing wrong?&lt;/UPPER&gt;</description>
    <pubDate>Wed, 29 Sep 2004 11:08:14 GMT</pubDate>
    <dc:creator>Jimmy Rogers</dc:creator>
    <dc:date>2004-09-29T11:08:14Z</dc:date>
    <item>
      <title>Perl libraries and @INC</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/perl-libraries-and-inc/m-p/3389929#M31428</link>
      <description>OK, I have Perl 5.6.1 installed on an 11.11 server:&lt;BR /&gt; swlist | grep -i perl&lt;BR /&gt;  perl                                    B.5.6.1.F      Perl Programming Language&lt;BR /&gt;&lt;BR /&gt;But it fails a perl -V:&lt;BR /&gt;perl -V&lt;BR /&gt;Can't locate Config.pm in @INC (@INC contains: /opt/perl5/lib/5.00502/PA-RISC1.1 /opt/perl5/lib/5.00502 /opt/perl5/lib/site_perl/5.005/PA-RISC1.1 /opt/perl5/lib/site_perl/5.005 .).&lt;BR /&gt;BEGIN failed--compilation aborted.&lt;BR /&gt;&lt;BR /&gt;I do have Config.pm, but @INC is pointed wrong:&lt;BR /&gt;/opt/perl/lib/site_perl/5.6.1/PPM/Config.pm&lt;BR /&gt;/opt/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi/Tk/Config.pm&lt;BR /&gt;/opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi/Config.pm&lt;BR /&gt;&lt;BR /&gt;perl -help says I can add paths to the @INC entries with perl -Idirectory  #&lt;UPPER case="" i=""&gt;&lt;BR /&gt;&lt;BR /&gt;But anytime I do the following:&lt;BR /&gt;perl -I/opt/perl/lib/site_perl/5.6.1/PPM&lt;BR /&gt;perl -I/opt/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi/Tk&lt;BR /&gt;perl -I/opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi&lt;BR /&gt;&lt;BR /&gt;All it does is hang.  I even inserted a space between the -I and the paths, still just hangs there.  I figure I must be doing a parameter wrong, but after searching the 'Net for examples, the -I option is just listed as -Idirectory with no examples.  What am I doing wrong?&lt;/UPPER&gt;</description>
      <pubDate>Wed, 29 Sep 2004 11:08:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/perl-libraries-and-inc/m-p/3389929#M31428</guid>
      <dc:creator>Jimmy Rogers</dc:creator>
      <dc:date>2004-09-29T11:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Perl libraries and @INC</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/perl-libraries-and-inc/m-p/3389930#M31429</link>
      <description>Jimmy,&lt;BR /&gt;&lt;BR /&gt;You've got a couple of problems here.  The first one is that this is an OpenVMS forum and you appear to be running Perl on HP-UX (at least that's what I assume 11.11 means).&lt;BR /&gt;&lt;BR /&gt;Another problem is that your @INC appears to be sending Perl off into directories with 5.00502 in their names, i.e., your library paths are set to a much older version of Perl.  Those directories may no longer exist or may have incompatible library versions with your newer (though still far from current) 5.6.1 Perl.  Check the value of the environment variable PERL5LIB -- that may well be set to something for 5.005_02.&lt;BR /&gt;&lt;BR /&gt;The -I directive only modifies @INC for the current run of Perl.  It is not, as you appear to be thinking, something that reconfigures the default values of @INC.  The reason it "hangs" is that it is waiting for you to enter a script on standard input since you did not specify one on the command line.&lt;BR /&gt;&lt;BR /&gt;I recommend sending mail to beginners-subscribe AT perl DOT org and you will then be part of a forum much better suited to handling this sort of issue.</description>
      <pubDate>Wed, 29 Sep 2004 11:32:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/perl-libraries-and-inc/m-p/3389930#M31429</guid>
      <dc:creator>Craig A Berry</dc:creator>
      <dc:date>2004-09-29T11:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: Perl libraries and @INC</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/perl-libraries-and-inc/m-p/3389931#M31430</link>
      <description>Oops thought I was in the HP forums, sorry!&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Sep 2004 11:47:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/perl-libraries-and-inc/m-p/3389931#M31430</guid>
      <dc:creator>Jimmy Rogers</dc:creator>
      <dc:date>2004-09-29T11:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: Perl libraries and @INC</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/perl-libraries-and-inc/m-p/3389932#M31431</link>
      <description>Hello Jimmy,&lt;BR /&gt;&lt;BR /&gt;well you are in the hp forums, but hp is more than hp-ux. Have a look at &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/categoryhome.do?categoryId=150" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/categoryhome.do?categoryId=150&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;for the ux crowd.&lt;BR /&gt;&lt;BR /&gt;Nevertheless Craig already pointed out the likely problem. &lt;BR /&gt;&lt;BR /&gt;One more hint, the path you most probably need is /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi&lt;BR /&gt;&lt;BR /&gt;There is more than one Config.pm and they do not all contain the same stuff and are interchangeable;-)&lt;BR /&gt;&lt;BR /&gt;All the best,&lt;BR /&gt;&lt;BR /&gt;Martin</description>
      <pubDate>Wed, 29 Sep 2004 11:59:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/perl-libraries-and-inc/m-p/3389932#M31431</guid>
      <dc:creator>Martin P.J. Zinser</dc:creator>
      <dc:date>2004-09-29T11:59:28Z</dc:date>
    </item>
  </channel>
</rss>

