On Mon, 31 Mar 2003, Rick Measham wrote: > I don't know what to call this module. Basically it will return Roman > Catholic Feasts. However it would be simple to extend it to return Anglican > (Church of England) and/or Orthodox Feasts and Celebrations. > > What I'm thinking is to distribute: > DateTime::Event::Church::Catholic.pm > DateTime::Event::Church::Anglican.pm > DateTime::Event::Church::Orthodox.pm > Which will all basically just contain data that the main module > (DateTime::Event::Church.pm) calls in. This would mean that you could > possibly load all three. The three would have to make sure that they didn't > block each other with all their crazy rules.
Should this be ::Event or ::EventSet? Also, should we replace "Church" with "Religion" or something like that? Alternately, we could go the other way and replace "Church" with "Christian". > What I'm wondering is: Is there a better (more compact, but still fast) way > to store this than in a perl data structure? You could put it into your __DATA__ section and read it on load. This'd let you use a more human readable format, though honestly this looks okay to me. > fixedmonth => 1, > fixedday => 25, Those are two_words, not twowords ;) -dave /*======================= House Absolute Consulting www.houseabsolute.com =======================*/
