HP3000-L Archives

June 2000, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Bixby <[log in to unmask]>
Reply To:
Mark Bixby <[log in to unmask]>
Date:
Mon, 5 Jun 2000 17:37:18 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (28 lines)
Eben Yong wrote:
> My next question... what are the best libraries out there for date
> manipulation and calculation?  I am used to MPEX making life so incredibly
> easy for me with date functions.  Are there similar existing libraries for
> Perl/iX?  How hard is it to recompile them for use on my e3000?

I don't know which one is "best", but the Perl package I've used for date
calculations is Date::Calc:

http://theoryx5.uwinnipeg.ca/CPAN/data/Date-Calc/Calc.html

You can install it automatically by following the CPAN module instructions in
the What's New section of http://www.bixby.org/mark/perlix.html and then doing
an "install Date::Calc" command once the CPAN module has started.

Or you can download Date::Calc manually from www.cpan.org.  Like just about all
Perl add-on packages, building is standard and simple:

perl Makefile.PL
make
make test
make install

Whenever you wonder "Can Perl do xyz?", the answer is probably yes, and the
corresponding add-on packages can be found at www.cpan.org.

- Mark B.

ATOM RSS1 RSS2