<?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 Re: about perl in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/about-perl/m-p/4882264#M704223</link>
    <description>thankx</description>
    <pubDate>Thu, 27 Jan 2005 08:17:29 GMT</pubDate>
    <dc:creator>kamal_15</dc:creator>
    <dc:date>2005-01-27T08:17:29Z</dc:date>
    <item>
      <title>about perl</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-perl/m-p/4882252#M704211</link>
      <description>hi all &lt;BR /&gt;iam new in perl language&lt;BR /&gt;i have hp-ux v 10.2&lt;BR /&gt;and perl 5&lt;BR /&gt;&lt;BR /&gt;i get documentation about perl&lt;BR /&gt;but&lt;BR /&gt;when i tryed to write a simple script as follow:&lt;BR /&gt;&lt;BR /&gt;my $a="hello";&lt;BR /&gt;print $a;&lt;BR /&gt;&lt;BR /&gt;this script will return error syntax&lt;BR /&gt;"my $a"&lt;BR /&gt;i executed this file as (perl script_name.pl)&lt;BR /&gt;&lt;BR /&gt;please help if there is any environment is not defiened correctly&lt;BR /&gt;thankx &lt;BR /&gt;kamal&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Jan 2005 09:17:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-perl/m-p/4882252#M704211</guid>
      <dc:creator>kamal_15</dc:creator>
      <dc:date>2005-01-26T09:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: about perl</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-perl/m-p/4882253#M704212</link>
      <description>Kamal,&lt;BR /&gt;can you please attach the script?&lt;BR /&gt;I just copied it into a.pl and executed via:&lt;BR /&gt;perl a.pl&lt;BR /&gt;and it worked.&lt;BR /&gt;What does the error syntax message say?</description>
      <pubDate>Wed, 26 Jan 2005 09:25:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-perl/m-p/4882253#M704212</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2005-01-26T09:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: about perl</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-perl/m-p/4882254#M704213</link>
      <description>many thanks peter for your help&lt;BR /&gt;&lt;BR /&gt;this is script NO.1  (p1.pl)&lt;BR /&gt;*********************************&lt;BR /&gt;my %var1 = (&lt;BR /&gt; user1  =&amp;gt; "kamal"&lt;BR /&gt; user2 =&amp;gt; "ahmed",&lt;BR /&gt; );&lt;BR /&gt;print keys %var1;&lt;BR /&gt;***********************************&lt;BR /&gt;and it is the error&lt;BR /&gt;***********************************&lt;BR /&gt;Illegal modulus of constant zero in file t1.pl at line 1, next 2 tokens "var1 ="&lt;BR /&gt;syntax error in file t1.pl at line 2, next 2 tokens "=&amp;gt;"&lt;BR /&gt;Execution of t1.pl aborted due to compilation errors.&lt;BR /&gt;&lt;BR /&gt;---------------------------------------------&lt;BR /&gt;---------------------------------------------&lt;BR /&gt;this is script NO.2  (p2.pl)&lt;BR /&gt;***********************************&lt;BR /&gt;my $a = "hello"&lt;BR /&gt;print $a;&lt;BR /&gt;***********************************&lt;BR /&gt;and it is the error&lt;BR /&gt;***********************************&lt;BR /&gt;syntax error in file t2.pl at line 1, next 2 tokens "my $a "&lt;BR /&gt;Execution of t1.pl aborted due to compilation errors.&lt;BR /&gt;***********************************&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;i think i have problem in my environment for perl.&lt;BR /&gt;&lt;BR /&gt;please help&lt;BR /&gt;&lt;BR /&gt;thank you&lt;BR /&gt;&lt;BR /&gt;kamal&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Jan 2005 09:57:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-perl/m-p/4882254#M704213</guid>
      <dc:creator>kamal_15</dc:creator>
      <dc:date>2005-01-26T09:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: about perl</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-perl/m-p/4882255#M704214</link>
      <description>my %var1 = (&lt;BR /&gt;user1 =&amp;gt; "kamal"&lt;BR /&gt;user2 =&amp;gt; "ahmed",&lt;BR /&gt;);&lt;BR /&gt; &lt;BR /&gt;You are missing a comma after "kamal".&lt;BR /&gt; &lt;BR /&gt;my $a = "hello"&lt;BR /&gt;print $a;&lt;BR /&gt; &lt;BR /&gt;You are missing a semi-colon after "hello".&lt;BR /&gt; &lt;BR /&gt;HTH&lt;BR /&gt; &lt;BR /&gt;-- Rod Hills</description>
      <pubDate>Wed, 26 Jan 2005 10:03:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-perl/m-p/4882255#M704214</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2005-01-26T10:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: about perl</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-perl/m-p/4882256#M704215</link>
      <description>The script you show does NOT match the original scripts posted!&lt;BR /&gt;&lt;BR /&gt;my %var1 = (&lt;BR /&gt;user1 =&amp;gt; "kamal"&lt;BR /&gt;user2 =&amp;gt; "ahmed",&lt;BR /&gt;);&lt;BR /&gt;print keys %var1;&lt;BR /&gt;&lt;BR /&gt;Here you should have a comma after kamal, but not after ahmed.&lt;BR /&gt;&lt;BR /&gt;***********************************&lt;BR /&gt;my $a = "hello"&lt;BR /&gt;print $a;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This misses the required semicolon after on the first line!&lt;BR /&gt;&lt;BR /&gt;---------------------------&lt;BR /&gt;my %var1 = (&lt;BR /&gt;user1 =&amp;gt; "kamal",&lt;BR /&gt;user2 =&amp;gt; "ahmed"&lt;BR /&gt;);&lt;BR /&gt;print keys %var1;&lt;BR /&gt;-----------------------&lt;BR /&gt;my $a = "hello";&lt;BR /&gt;print $a;&lt;BR /&gt;-------------------------&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Jan 2005 10:03:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-perl/m-p/4882256#M704215</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2005-01-26T10:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: about perl</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-perl/m-p/4882257#M704216</link>
      <description>No need to attach the script here.&lt;BR /&gt;&lt;BR /&gt;'my' is a perl5 keyword, and I bet you have an old perl4 (/usr/contrib/bin) that prevails in your $PATH&lt;BR /&gt;&lt;BR /&gt;# perl -v&lt;BR /&gt;&lt;BR /&gt;should show it&lt;BR /&gt;&lt;BR /&gt;just make sure (edit /etc/PATH) that /usr/contrib/bin is last in your $PATH&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
      <pubDate>Wed, 26 Jan 2005 10:04:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-perl/m-p/4882257#M704216</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2005-01-26T10:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: about perl</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-perl/m-p/4882258#M704217</link>
      <description>For #2:&lt;BR /&gt;&lt;BR /&gt;add a ; after "hello"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Jan 2005 10:04:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-perl/m-p/4882258#M704217</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-01-26T10:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: about perl</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-perl/m-p/4882259#M704218</link>
      <description>Kamal;&lt;BR /&gt;a very quick check:&lt;BR /&gt;perl -e'my $a="hello";print $a'&lt;BR /&gt;Ensure that perl/lib is in your $PATH&lt;BR /&gt;Check what you are running with : which perl&lt;BR /&gt;Ours is in /usr/contrib/bin&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Jan 2005 10:06:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-perl/m-p/4882259#M704218</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2005-01-26T10:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: about perl</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-perl/m-p/4882260#M704219</link>
      <description>hil all&lt;BR /&gt;&lt;BR /&gt;sorry for missing ;( i forget it only during copy script but it exist).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;i tryed command &lt;BR /&gt;perl -v&lt;BR /&gt;and return (This is perl, version 4.0).&lt;BR /&gt;&lt;BR /&gt;and (/usr/contrib/bin)exist in my path variable.&lt;BR /&gt;&lt;BR /&gt;what can i do?&lt;BR /&gt;thankx&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Jan 2005 10:16:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-perl/m-p/4882260#M704219</guid>
      <dc:creator>kamal_15</dc:creator>
      <dc:date>2005-01-26T10:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: about perl</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-perl/m-p/4882261#M704220</link>
      <description>kamal,&lt;BR /&gt;download/install the latest version then try again.&lt;BR /&gt;&lt;A href="http://www.perl.com/CPAN/ports/index.html" target="_blank"&gt;http://www.perl.com/CPAN/ports/index.html&lt;/A&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Wed, 26 Jan 2005 10:20:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-perl/m-p/4882261#M704220</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2005-01-26T10:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: about perl</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-perl/m-p/4882262#M704221</link>
      <description>your header states that you also have installed perl5, so as I said, move /usr/contrib/bin to the end of your $PATH&lt;BR /&gt;&lt;BR /&gt;perl4 is dead!&lt;BR /&gt;&lt;BR /&gt;# echo $PATH&lt;BR /&gt;# /usr/contrib/bin:/bin:/usr/local/bin:/usr/bin&lt;BR /&gt;&lt;BR /&gt;for sh/ksh/bash:&lt;BR /&gt;# export PATH=/bin:/usr/local/bin:/usr/bin:/opt/perl/bin:/usr/contrib/bin&lt;BR /&gt;for tcsh/csh:&lt;BR /&gt;# setenv PATH /bin:/usr/local/bin:/usr/bin:/opt/perl/bin:/usr/contrib/bin&lt;BR /&gt;&lt;BR /&gt;Be sure to change it in /etc/PATH too!&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
      <pubDate>Wed, 26 Jan 2005 10:39:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-perl/m-p/4882262#M704221</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2005-01-26T10:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: about perl</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-perl/m-p/4882263#M704222</link>
      <description>many thankx for all&lt;BR /&gt;&lt;BR /&gt;i found perl 5 installed&lt;BR /&gt;but the path for perl 5 not including in /etc/PATH. (only perl 4 including)&lt;BR /&gt;&lt;BR /&gt;i made the changes&lt;BR /&gt;and now every thing is ok&lt;BR /&gt;&lt;BR /&gt;many thankx again for all&lt;BR /&gt;&lt;BR /&gt;kamal&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Jan 2005 08:15:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-perl/m-p/4882263#M704222</guid>
      <dc:creator>kamal_15</dc:creator>
      <dc:date>2005-01-27T08:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: about perl</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-perl/m-p/4882264#M704223</link>
      <description>thankx</description>
      <pubDate>Thu, 27 Jan 2005 08:17:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-perl/m-p/4882264#M704223</guid>
      <dc:creator>kamal_15</dc:creator>
      <dc:date>2005-01-27T08:17:29Z</dc:date>
    </item>
  </channel>
</rss>

