in reply to Checking for Valid Dates

Time::Local is good for this purpose too. Its timelocal() function will give a -1 if the given date is invalid. This module is more common than Date::Manip, since it is installed by default

-- tune