<?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: perl DateCalc &amp;amp; Calc issue in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-datecalc-amp-calc-issue/m-p/4436309#M680397</link>
    <description>Hi ,&lt;BR /&gt;I tried to debug my perl file, i found the following errors&lt;BR /&gt;may be some problem with DateCalc module's month_name_tab function.&lt;BR /&gt;&lt;BR /&gt;Please help me out.&lt;BR /&gt;&lt;BR /&gt;DB&amp;lt;13&amp;gt;&lt;BR /&gt;Pace::getDateLabel(Pace.pm:338):            my $startMon=substr(month_name_tab(substr($_[0],4,2)),0,3);&lt;BR /&gt;  DB&amp;lt;13&amp;gt;&lt;BR /&gt;Undefined subroutine &amp;amp;Pace::month_name_tab called at Pace.pm line 338.&lt;BR /&gt;        Pace::getDateLabel(20090706,20090706) called at /utilities/intranet/apache/cgi-bin/pace/plotfsusage.pl line 148&lt;BR /&gt;        main::initialise() called at /utilities/intranet/apache/cgi-bin/pace/plotfsusage.pl line 120&lt;BR /&gt;        main::main() called at /utilities/intranet/apache/cgi-bin/pace/plotfsusage.pl line 257&lt;BR /&gt;Debugged program terminated.  Use q to quit or R to restart,&lt;BR /&gt;  use O inhibit_exit to avoid stopping after program termination,&lt;BR /&gt;  h q, h R or h O to get additional info.&lt;BR /&gt;</description>
    <pubDate>Tue, 07 Jul 2009 10:34:00 GMT</pubDate>
    <dc:creator>cyclops_1</dc:creator>
    <dc:date>2009-07-07T10:34:00Z</dc:date>
    <item>
      <title>perl DateCalc &amp; Calc issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-datecalc-amp-calc-issue/m-p/4436300#M680388</link>
      <description>Hi,&lt;BR /&gt;I have some issue with perl modules,i have perl 5.8.3 &amp;amp; installed DateCalc 3.2 &amp;amp; Calc 5.4 module, but when i execute my primary package on apache server ,log shows some message as follows&lt;BR /&gt;&lt;BR /&gt;Subroutine Date::Calc::Language redefined at /opt/perl/lib/site_perl/5.8.3/IA64.ARCHREV_0-thread-multi/Date/Calc.pm line 103.&lt;BR /&gt;Subroutine Date::Calc::Languages redefined at /opt/perl/lib/site_perl/5.8.3/IA64.ARCHREV_0-thread-multi/Date/Calc.pm line 103.&lt;BR /&gt;Subroutine Date::Calc::ISO_LC redefined at /opt/perl/lib/site_perl/5.8.3/IA64.ARCHREV_0-thread-multi/Date/Calc.pm line 103.&lt;BR /&gt;Subroutine Date::Calc::ISO_UC redefined at /opt/perl/lib/site_perl/5.8.3/IA64.ARCHREV_0-thread-multi/Date/Calc.pm line 103.&lt;BR /&gt;Subroutine Date::Calc::Version redefined at /opt/perl/lib/site_perl/5.8.3/IA64.ARCHREV_0-thread-multi/Date/Calc.pm line 103.&lt;BR /&gt;Use of uninitialized value in concatenation (.) or string at Pace.pm line 98.&lt;BR /&gt;Undefined subroutine &amp;amp;Date::DateCalc::check_date called at Pace.pm line 543.&lt;BR /&gt;&lt;BR /&gt;no element found at line 1, column 0, byte 0 at /opt/perl/lib/site_perl/5.8.3/IA64.ARCHREV_0-thread-multi/XML/Parser.pm line 187&lt;BR /&gt;&lt;BR /&gt;Details&lt;BR /&gt;HPUX 11iv2,rx4640,2CPU,8GB&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Jun 2009 07:04:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-datecalc-amp-calc-issue/m-p/4436300#M680388</guid>
      <dc:creator>cyclops_1</dc:creator>
      <dc:date>2009-06-10T07:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: perl DateCalc &amp; Calc issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-datecalc-amp-calc-issue/m-p/4436301#M680389</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;The 'Date::Calc' module documentation notes that:&lt;BR /&gt;&lt;BR /&gt;/* begin quote */&lt;BR /&gt;&lt;BR /&gt; "In the current implementation of this package, the selected language is stored in a global variable.&lt;BR /&gt;&lt;BR /&gt;Therefore, when you are using a threaded Perl, this may cause undesired side effects (of one thread always selecting the language for ALL OTHER threads as well).&lt;BR /&gt;&lt;BR /&gt;/* end quote */&lt;BR /&gt;&lt;BR /&gt;Hence, I believe that that describes the first set of messages you report.&lt;BR /&gt;&lt;BR /&gt;For the remainder, you need to examine things further.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Jun 2009 11:23:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-datecalc-amp-calc-issue/m-p/4436301#M680389</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-06-10T11:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: perl DateCalc &amp; Calc issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-datecalc-amp-calc-issue/m-p/4436302#M680390</link>
      <description>Hi james,&lt;BR /&gt;Actually i am new to perl,what u brought to my attention is acceptable but what shud i do to resolve the issue..??</description>
      <pubDate>Thu, 11 Jun 2009 03:51:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-datecalc-amp-calc-issue/m-p/4436302#M680390</guid>
      <dc:creator>cyclops_1</dc:creator>
      <dc:date>2009-06-11T03:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: perl DateCalc &amp; Calc issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-datecalc-amp-calc-issue/m-p/4436303#M680391</link>
      <description>Hi James,&lt;BR /&gt;Eagerly waiting for your help</description>
      <pubDate>Mon, 15 Jun 2009 06:00:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-datecalc-amp-calc-issue/m-p/4436303#M680391</guid>
      <dc:creator>cyclops_1</dc:creator>
      <dc:date>2009-06-15T06:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: perl DateCalc &amp; Calc issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-datecalc-amp-calc-issue/m-p/4436304#M680392</link>
      <description>Hi (again) Cyclops:&lt;BR /&gt;&lt;BR /&gt;You need to look (at least) at your 'Pace.pm' module around line 98 and also lie 543.  The "uninitialized value" is a warning, but the undefined subroutine constitutes an error.&lt;BR /&gt;&lt;BR /&gt;&amp;amp;Date::DateCalc::check_date &lt;BR /&gt;&lt;BR /&gt;...should be:&lt;BR /&gt;&lt;BR /&gt;&amp;amp;Date::Calc::check_date( ... &lt;BR /&gt;&lt;BR /&gt;...or:&lt;BR /&gt;&lt;BR /&gt;Date::DateCalc::check_date( ...&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF... &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Jun 2009 11:05:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-datecalc-amp-calc-issue/m-p/4436304#M680392</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-06-15T11:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: perl DateCalc &amp; Calc issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-datecalc-amp-calc-issue/m-p/4436305#M680393</link>
      <description>Hi james,&lt;BR /&gt;        Sorry for the delay, I tried the things as u suggested but still its showing the same error...&lt;BR /&gt;I still couldnt figure it out what is the error..also i think check_date function is of Calc.pm package,then why its showing error with DateCal.pm package..&lt;BR /&gt;&lt;BR /&gt;waiting for ur reply.&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Jun 2009 04:13:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-datecalc-amp-calc-issue/m-p/4436305#M680393</guid>
      <dc:creator>cyclops_1</dc:creator>
      <dc:date>2009-06-19T04:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: perl DateCalc &amp; Calc issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-datecalc-amp-calc-issue/m-p/4436306#M680394</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;&amp;gt; i think check_date function is of Calc.pm package,then why its showing error with DateCal.pm package..&lt;BR /&gt;&lt;BR /&gt;I don't know what module 'Calc.pm' is.  In your initial post you mentioned "DateCalc 3.2 &amp;amp; Calc 5.4" which is interesting since the 'Date::Calc' module's current version is in fact 5.4.  I can only presume that 'Calc.pm' is something indigenous to your local installation.&lt;BR /&gt;&lt;BR /&gt;My previous post may have confused things.  I _should have_ written the following:&lt;BR /&gt;&lt;BR /&gt;You need to look (at least) at your 'Pace.pm' module around line 98 and also lie 543. The "uninitialized value" is a warning, but the undefined subroutine constitutes an error.&lt;BR /&gt;&lt;BR /&gt;&amp;amp;Date::DateCalc::check_date &lt;BR /&gt;&lt;BR /&gt;...should be:&lt;BR /&gt;&lt;BR /&gt;&amp;amp;Date::Calc::check_date( ... &lt;BR /&gt;&lt;BR /&gt;...or:&lt;BR /&gt;&lt;BR /&gt;Date::Calc::check_date( ...&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 19 Jun 2009 11:02:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-datecalc-amp-calc-issue/m-p/4436306#M680394</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-06-19T11:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: perl DateCalc &amp; Calc issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-datecalc-amp-calc-issue/m-p/4436307#M680395</link>
      <description>Hi James, &lt;BR /&gt;    i tried to look into Pace.pm package i didnt got any clue.As i said before i am new to perl , so your help is very much expected&lt;BR /&gt;i still cudnt figure it out.</description>
      <pubDate>Wed, 24 Jun 2009 06:21:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-datecalc-amp-calc-issue/m-p/4436307#M680395</guid>
      <dc:creator>cyclops_1</dc:creator>
      <dc:date>2009-06-24T06:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: perl DateCalc &amp; Calc issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-datecalc-amp-calc-issue/m-p/4436308#M680396</link>
      <description>hi james,&lt;BR /&gt;        Can u please tell me what are the valid versions of DateCalc &amp;amp; Calc modules for perl 5.8.3&lt;BR /&gt;&lt;BR /&gt;waiting for ur reply.</description>
      <pubDate>Thu, 02 Jul 2009 04:41:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-datecalc-amp-calc-issue/m-p/4436308#M680396</guid>
      <dc:creator>cyclops_1</dc:creator>
      <dc:date>2009-07-02T04:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: perl DateCalc &amp; Calc issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-datecalc-amp-calc-issue/m-p/4436309#M680397</link>
      <description>Hi ,&lt;BR /&gt;I tried to debug my perl file, i found the following errors&lt;BR /&gt;may be some problem with DateCalc module's month_name_tab function.&lt;BR /&gt;&lt;BR /&gt;Please help me out.&lt;BR /&gt;&lt;BR /&gt;DB&amp;lt;13&amp;gt;&lt;BR /&gt;Pace::getDateLabel(Pace.pm:338):            my $startMon=substr(month_name_tab(substr($_[0],4,2)),0,3);&lt;BR /&gt;  DB&amp;lt;13&amp;gt;&lt;BR /&gt;Undefined subroutine &amp;amp;Pace::month_name_tab called at Pace.pm line 338.&lt;BR /&gt;        Pace::getDateLabel(20090706,20090706) called at /utilities/intranet/apache/cgi-bin/pace/plotfsusage.pl line 148&lt;BR /&gt;        main::initialise() called at /utilities/intranet/apache/cgi-bin/pace/plotfsusage.pl line 120&lt;BR /&gt;        main::main() called at /utilities/intranet/apache/cgi-bin/pace/plotfsusage.pl line 257&lt;BR /&gt;Debugged program terminated.  Use q to quit or R to restart,&lt;BR /&gt;  use O inhibit_exit to avoid stopping after program termination,&lt;BR /&gt;  h q, h R or h O to get additional info.&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Jul 2009 10:34:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-datecalc-amp-calc-issue/m-p/4436309#M680397</guid>
      <dc:creator>cyclops_1</dc:creator>
      <dc:date>2009-07-07T10:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: perl DateCalc &amp; Calc issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-datecalc-amp-calc-issue/m-p/4436310#M680398</link>
      <description>I think you're better helped at PerlMonks.org&lt;BR /&gt;They are specialized in (beginners) problems like this&lt;BR /&gt;&lt;BR /&gt;perl-5.8.3 is rather old. perl-5.8.9 or perl-5.10.0 are the more current versions.&lt;BR /&gt;&lt;BR /&gt;Date::Calc 5.4 is recent and fine. I never heard of the DateCalc module.&lt;BR /&gt;&lt;BR /&gt;Don't use '&amp;amp;' in front of subroutine calls, unless you know why you want that. In 99.99% of the cases you do not want to use this perl4-like syntax.&lt;BR /&gt;&lt;BR /&gt;Use strict and warnings. Start you script like this:&lt;BR /&gt;&lt;BR /&gt;--8&amp;lt;---&lt;BR /&gt;#!/opt/bin/perl&lt;BR /&gt;&lt;BR /&gt;use strict;&lt;BR /&gt;use warnings;&lt;BR /&gt;&lt;BR /&gt;--&amp;gt;8---&lt;BR /&gt;&lt;BR /&gt;and perl will show you where what variable caused problems&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
      <pubDate>Tue, 07 Jul 2009 11:47:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-datecalc-amp-calc-issue/m-p/4436310#M680398</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2009-07-07T11:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: perl DateCalc &amp; Calc issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-datecalc-amp-calc-issue/m-p/4436311#M680399</link>
      <description>thanks all and sorry for the delayed reply.&lt;BR /&gt;Actually i uninstalled the Calc modules removed all the Calc.pm &amp;amp; DateCalc.pm and again reinstalled those modules.&lt;BR /&gt;It worked out for me and my application is running fine.&lt;BR /&gt;Thanks all.</description>
      <pubDate>Thu, 20 Aug 2009 09:11:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-datecalc-amp-calc-issue/m-p/4436311#M680399</guid>
      <dc:creator>cyclops_1</dc:creator>
      <dc:date>2009-08-20T09:11:33Z</dc:date>
    </item>
  </channel>
</rss>

