<?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: ksh script with perl command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-script-with-perl-command/m-p/3444841#M707653</link>
    <description>&lt;BR /&gt;[root@vpart1 /etc/named.data]# export CRAZY=2004                                     &lt;BR /&gt;[root@vpart1 /etc/named.data]# perl -e 'printf("Here is CRAZY %s\n.",$ENV{"CRAZY"});'&lt;BR /&gt;Here is CRAZY 2004&lt;BR /&gt;.[root@vpart1 /etc/named.data]#&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;man perlfunc&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry d brown jr</description>
    <pubDate>Thu, 16 Dec 2004 06:34:08 GMT</pubDate>
    <dc:creator>harry d brown jr</dc:creator>
    <dc:date>2004-12-16T06:34:08Z</dc:date>
    <item>
      <title>ksh script with perl command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-script-with-perl-command/m-p/3444840#M707652</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have a ksh script that calls a perl command. Inside this perl command I need to use a variable defined in the ksh script. &lt;BR /&gt;&lt;BR /&gt;The perl command inside the ksh script is:&lt;BR /&gt;&lt;BR /&gt;otime=`perl -e '&lt;BR /&gt;use Time::Local;&lt;BR /&gt;print timelocal(&amp;lt;script_variable&amp;gt;),"\n"&lt;BR /&gt;'` &lt;BR /&gt;&lt;BR /&gt;What I need is to use a variable defined inside the script as a parameter for the timelocal function.&lt;BR /&gt;&lt;BR /&gt;How can I do that?&lt;BR /&gt;&lt;BR /&gt;Many thanks,&lt;BR /&gt;Lorenzo</description>
      <pubDate>Thu, 16 Dec 2004 06:02:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-script-with-perl-command/m-p/3444840#M707652</guid>
      <dc:creator>Lorenzo Santacana</dc:creator>
      <dc:date>2004-12-16T06:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: ksh script with perl command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-script-with-perl-command/m-p/3444841#M707653</link>
      <description>&lt;BR /&gt;[root@vpart1 /etc/named.data]# export CRAZY=2004                                     &lt;BR /&gt;[root@vpart1 /etc/named.data]# perl -e 'printf("Here is CRAZY %s\n.",$ENV{"CRAZY"});'&lt;BR /&gt;Here is CRAZY 2004&lt;BR /&gt;.[root@vpart1 /etc/named.data]#&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;man perlfunc&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry d brown jr</description>
      <pubDate>Thu, 16 Dec 2004 06:34:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-script-with-perl-command/m-p/3444841#M707653</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2004-12-16T06:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: ksh script with perl command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-script-with-perl-command/m-p/3444842#M707654</link>
      <description>Many thanks, harry.&lt;BR /&gt;&lt;BR /&gt;It works perfectly!!</description>
      <pubDate>Thu, 16 Dec 2004 06:38:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-script-with-perl-command/m-p/3444842#M707654</guid>
      <dc:creator>Lorenzo Santacana</dc:creator>
      <dc:date>2004-12-16T06:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: ksh script with perl command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-script-with-perl-command/m-p/3444843#M707655</link>
      <description>Just as a side note, use modules have command line option support&lt;BR /&gt;&lt;BR /&gt;# perl -MTime::Local -le'print timelocal $ENV{VARIABLE}'&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Dec 2004 06:51:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-script-with-perl-command/m-p/3444843#M707655</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2004-12-16T06:51:53Z</dc:date>
    </item>
  </channel>
</rss>

