Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Installing Date::Calc module

Status
Not open for further replies.

Cybershmuck

Technical User
Jan 21, 2005
21
Hi,

I went to cpan.org to find out how to install the date module Date::Calc. I get this page which has an extention .pod and nowhere in the cpan documentation does it mention this file type in th installtion.
I'm not familiar with Perl modules at all and would like to know how to install them.

I need to use this since it will help me subtract dates.

Thanks in advance :)
 
The .pod is the documentation.

What OS are you on? If you're on Activestate on Perl, you can type
Code:
ppm install Date-Cald
on the DOS/CMD command line

HTH
--Paul

cigless ...
 
Great that worked. But I can't seem to install Date::parse.
I type in the same command you gave me:

ppm install Date-Parse

but I got the following error:

"Error: Package 'Date-Parse' not found. Please 'search' for it first"

Please advise

Thanks.
 
I'm not aware of any such module. (Which doesn't mean it doesn't exist, of course.) Date::Calc has a subroutine called Parse_Date. Is that what you're thinking of, perhaps? At a command prompt, type perldoc Date::Calc to see what's inside Date::Calc, or, from your Start menu, click Programs->ActivePerl->Documentation and in the left-hand pane scroll down until you see Date::Calc and click on it to view the documentation.

HTH


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top