in reply to conversion of time intervals
I think that Time::Interval will be your baby ;-) You might want to keep http://search.cpan.org bookmarked.
/J\