- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: perl DateCalc & Calc issue
Operating System - HP-UX
1753736
Members
4765
Online
108799
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2009 04:47 AM
07-07-2009 04:47 AM
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
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2009 02:11 AM
08-20-2009 02:11 AM
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.
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.
- « Previous
-
- 1
- 2
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP