Period.pm is a Perl module to deal with time periods.