http://www.perlmonks.org?node_id=827355


in reply to use of date n time functions

Or you could parse out the dates with a regex, then use the Date::Calc bazooka to compare theses dates and find the most recent one.

The advantage of this being that you don't have to take into acount tricky dates pitfalls like leap years and so forth, as Date::Calc does that for you.