in reply to Date comparison Y2K problem

Date::Calc has a function Moving_Window that you may find useful for converting two-digit year to four digits:
$year = Moving_Window($yy);
That is, two-digit year numbers are first mapped to the same century as the current year. If the resulting year is smaller than the current year minus 50, then one more century is added to the result. If the resulting year is equal to or greater than the current year plus 50, then a century is subtracted from the result.
--
When you earnestly believe you can compensate for a lack of skill by doubling your efforts, there's no end to what you can't do. [1]