in reply to time it took script to complete
If you want a higher resolution than whole seconds, use
use Time::HiRes 'time'; [download]