Download the Date::Pcalc module
This Perl module is a direct translation of Steffen Beyer's excellent Date::Calc module to use Perl only instead of a combination of Perl and C.
This package consists of a Perl module for all kinds of date calculations based on the Gregorian calendar (the one used in all western countries today), thereby complying with all relevant norms and standards: ISO/R 2015-1971, DIN 1355 and, to some extent, ISO 8601 (where applicable).
I was working on a project that required date calculations. Date::Calc did exactly what I wanted, but the client's ISP would not allow me to compile C code. I rewrote the few subroutines that I needed into Perl, and then decided to translate the entire module to Perl in case other people encountered the same problem.
Since I've made the module match the original as closely as possible
(in terms of function calls, etc.), I decided to
use Mr. Beyer's documentation with slight modifications. I am also
using two of his subroutines verbatim. This being the case,
the GPL requires me to
redistribute the entire package. I've included the original package
in the Calc_original
subdirectory of this distribution.
To me, of course. Any errors you find in the module have undboutedly been introduced by my translation from C to Perl.