Try
Time::Piece. I discovered it a few days back and it is mucho-small, very fast and does the basic comparisons. It has relatives
Time::Piece::MySQL for MySQL date/time types and when you do a calculation it returns a
Time::Seconds object. Very nice little bundle.
I also use Date::Manip, but it is too big and heavy for this sort of lifting!
jdtoronto