On Wed, 26 Feb 2003, Lawrence K. Hixson wrote:

> If I understand you correctly, your module is using "Calendrical Calculations"
> as an "algorithmic bible" because the LISP code is so amenable to Perl
> conversion.  They are not the only calendric gospel around.  Can you

Is that a joke?  I can't make heads or tails of LISP without a lot of
effort on my part.  The only reason they're my bible is that it's the book
I happen to have sitting on my desk ;)

> accomodate either case with flags/switches?

See my reply to Eugene for why I dislike this.  Basically, I have a strong
bias against lots of parameters, particular to constructor/set methods.
And for get methods, I'd rather see more methods than many parameters.

> FYI: "Herod the Great:" Roman king of Judea (37 BC to 4 AD) that was 40 years
> not 41 years!

But year -36 to 4 is 40 as well.  I think I'll add a bc_year() method to
DateTime.pm, but the constructor will remain unchanged.


-dave

/*=======================
House Absolute Consulting
www.houseabsolute.com
=======================*/

Reply via email to