Глянь на Time::Duration (http://mail-index.netbsd.org/pkgsrc-changes/2007/01/02/0061.html) Не то ли что нужно?