<?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 Error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-error/m-p/2646590#M722786</link>
    <description>Hi Everybody,&lt;BR /&gt;&lt;BR /&gt;I??m a beginner at Perl and trying to do a dumb sript ( using shell commands ) only for test.&lt;BR /&gt;I got a crab message:&lt;BR /&gt;Can't locate shell.pm in @INC (@INC contains: /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi &lt;BR /&gt;/opt/perl/lib/5.6.1 /opt/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi &lt;BR /&gt;/opt/perl/lib/site_perl/5.6.1 /opt/perl/lib/site_perl .) at ./ola line 2.&lt;BR /&gt;BEGIN failed--compilation aborted at ./ola line 2.&lt;BR /&gt;Somebody has an idea ?&lt;BR /&gt;The script is in the attachment.&lt;BR /&gt;&lt;BR /&gt;Tks.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 16 Jan 2002 18:23:08 GMT</pubDate>
    <dc:creator>Ricardo Bassoi</dc:creator>
    <dc:date>2002-01-16T18:23:08Z</dc:date>
    <item>
      <title>Perl Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-error/m-p/2646590#M722786</link>
      <description>Hi Everybody,&lt;BR /&gt;&lt;BR /&gt;I??m a beginner at Perl and trying to do a dumb sript ( using shell commands ) only for test.&lt;BR /&gt;I got a crab message:&lt;BR /&gt;Can't locate shell.pm in @INC (@INC contains: /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi &lt;BR /&gt;/opt/perl/lib/5.6.1 /opt/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi &lt;BR /&gt;/opt/perl/lib/site_perl/5.6.1 /opt/perl/lib/site_perl .) at ./ola line 2.&lt;BR /&gt;BEGIN failed--compilation aborted at ./ola line 2.&lt;BR /&gt;Somebody has an idea ?&lt;BR /&gt;The script is in the attachment.&lt;BR /&gt;&lt;BR /&gt;Tks.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Jan 2002 18:23:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-error/m-p/2646590#M722786</guid>
      <dc:creator>Ricardo Bassoi</dc:creator>
      <dc:date>2002-01-16T18:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Perl Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-error/m-p/2646591#M722787</link>
      <description>Find out where they are:&lt;BR /&gt;&lt;BR /&gt;find / -type f -name "[Ss]hell.pm"&lt;BR /&gt;&lt;BR /&gt;then you will need the Config.pm, so find it:&lt;BR /&gt;&lt;BR /&gt;find / -type f -name "[Cc]onfig.pm"&lt;BR /&gt;&lt;BR /&gt;Now, set your PERL5LIB path variable:&lt;BR /&gt;&lt;BR /&gt;export PERL5LIB=/pathesfoundabove:/maybeanotherpath&lt;BR /&gt;&lt;BR /&gt;like I have:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;export PERL5LIB=/usr/local/lib/perl5:/usr/local/lib/perl5.004&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Wed, 16 Jan 2002 18:54:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-error/m-p/2646591#M722787</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-01-16T18:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: Perl Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-error/m-p/2646592#M722788</link>
      <description>&lt;BR /&gt;I forgot to add, that you need to capitalize it!&lt;BR /&gt;&lt;BR /&gt;use Shell;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Wed, 16 Jan 2002 18:56:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-error/m-p/2646592#M722788</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-01-16T18:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: Perl Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-error/m-p/2646593#M722789</link>
      <description>&lt;BR /&gt;Hi Harry,&lt;BR /&gt;&lt;BR /&gt;Tks man !&lt;BR /&gt;&lt;BR /&gt;I did what you told me and it works. The problem now is only the following:&lt;BR /&gt;How to right execute shell commands inside a Perl script, like the simple DATE command ?&lt;BR /&gt;I tried but no way !</description>
      <pubDate>Wed, 16 Jan 2002 19:14:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-error/m-p/2646593#M722789</guid>
      <dc:creator>Ricardo Bassoi</dc:creator>
      <dc:date>2002-01-16T19:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Perl Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-error/m-p/2646594#M722790</link>
      <description>You don't need shell for that:&lt;BR /&gt;&lt;BR /&gt;#!/usr/local/bin/perl&lt;BR /&gt;#&lt;BR /&gt;$dah=`date`;   #notice tic marks&lt;BR /&gt;printf $dah;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Wed, 16 Jan 2002 19:49:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-error/m-p/2646594#M722790</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-01-16T19:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: Perl Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-error/m-p/2646595#M722791</link>
      <description>&lt;BR /&gt;Harry,&lt;BR /&gt;&lt;BR /&gt;For sure that for that I dont need the shell. But sometimes its necessary like a FTP, TELNET or other shell interaction. &lt;BR /&gt;How to do in this way ?&lt;BR /&gt;&lt;BR /&gt;Tks</description>
      <pubDate>Thu, 17 Jan 2002 10:45:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-error/m-p/2646595#M722791</guid>
      <dc:creator>Ricardo Bassoi</dc:creator>
      <dc:date>2002-01-17T10:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Perl Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-error/m-p/2646596#M722792</link>
      <description>&lt;BR /&gt;Hi Ricardo,&lt;BR /&gt;&lt;BR /&gt;Try to use the Shell lib.</description>
      <pubDate>Thu, 17 Jan 2002 13:40:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-error/m-p/2646596#M722792</guid>
      <dc:creator>Manolo Hensel Cores</dc:creator>
      <dc:date>2002-01-17T13:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Perl Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-error/m-p/2646597#M722793</link>
      <description>Ricardo,&lt;BR /&gt;&lt;BR /&gt;I wish Clay or JRF would respond, because one of them uses perl to FTP, using the FTP perl modules. Hopefully they will :-??&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Thu, 17 Jan 2002 13:43:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-error/m-p/2646597#M722793</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-01-17T13:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: Perl Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-error/m-p/2646598#M722794</link>
      <description>Ricardo,&lt;BR /&gt;&lt;BR /&gt;Here you will find Clay's ftp using perl example:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xc88106295e00d6118ff40090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xc88106295e00d6118ff40090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And for telnet:&lt;BR /&gt;&lt;A href="http://www.perlfect.com/articles/telnet.shtml" target="_blank"&gt;http://www.perlfect.com/articles/telnet.shtml&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Thu, 17 Jan 2002 14:12:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-error/m-p/2646598#M722794</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-01-17T14:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Perl Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-error/m-p/2646599#M722795</link>
      <description>Hi Ricardo:&lt;BR /&gt;&lt;BR /&gt;Since Harry has already posted a link to one of my FTP examples the only thing left to emphasize is that the Net::FTP module is not a part of bundled Perl but must be downloaded and installed from &lt;A href="http://www.perl.org/CPAN." target="_blank"&gt;http://www.perl.org/CPAN.&lt;/A&gt;&lt;BR /&gt;I will add one other comment from my teeny-tiny Perl knowledge and that is the the Shell module is seldom used. There's nothing wrong with it; it's just that there are generally better ways to do it within Perl.&lt;BR /&gt;&lt;BR /&gt;If you don't already have them you really need to purchase the O'Reilly Perl books; the learning curve for perl is rather steep because the language is so rich. &lt;BR /&gt;&lt;BR /&gt;Regards, Clay</description>
      <pubDate>Thu, 17 Jan 2002 15:32:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-error/m-p/2646599#M722795</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-01-17T15:32:26Z</dc:date>
    </item>
  </channel>
</rss>

