So, way back in the day, when I was working at UVic, I was writing a program that let my fellow sysadmins track overtime hours. Of course, you get a different amount of credit if your overtime happens on a holiday, and as I started making up a list of stat holiday dates, I thought to myself (as one often does when programming, especially in Perl): "Surely somebody has solved this problem before. If I'm lucky, they've even put code up on CPAN to solve it for me."
The first might have been true, but the second wasn't. There was a whole hierarchy of Date::Holidays modules, with holidays for Germany, Australia, the UK...but not for Canada.
( More on the making of Date::Holidays::CA )Tags: