Operating System - HP-UX
1753736 Members
4765 Online
108799 Solutions
New Discussion

Re: perl DateCalc & Calc issue

 
H.Merijn Brand (procura
Honored Contributor

Re: perl DateCalc & Calc issue

I think you're better helped at PerlMonks.org
They are specialized in (beginners) problems like this

perl-5.8.3 is rather old. perl-5.8.9 or perl-5.10.0 are the more current versions.

Date::Calc 5.4 is recent and fine. I never heard of the DateCalc module.

Don't use '&' 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.

Use strict and warnings. Start you script like this:

--8<---
#!/opt/bin/perl

use strict;
use warnings;

-->8---

and perl will show you where what variable caused problems

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
cyclops_1
Occasional Advisor

Re: perl DateCalc & Calc issue

thanks all and sorry for the delayed reply.
Actually i uninstalled the Calc modules removed all the Calc.pm & DateCalc.pm and again reinstalled those modules.
It worked out for me and my application is running fine.
Thanks all.