in reply to Time modules

I'm with poolpi. There is no need to reinvent wheels. This module seems perfect for what you want. Check this node: Term::ProgressBar. Of course it is notoriously difficult to get accurate estimates of the time left so you probably end up with "M$ seconds";-)