develooper Front page | perl.libwww | Postings from August 2003

Timer for file uploads

Thread Next
Randall Perry
August 23, 2003 12:41
Timer for file uploads
Message ID:
Was searching through CPAN trying to find a timer that could provide
formatted output for elapsed time so I can time file uploads I'm automating
with WWW::Mechanize.

Found a timer function to use, Time::HiRes, but couldn't find anything that
could output elapsed time in format mm:ss.

I'm about to write my own code but wanted to ask if anyone knows a module
that can do this.

BTW, it may not be apropos, but it would be cool to have a built-in timer
method in LWP::UserAgent so requests and posts could be timed.
Randall Perry

Xserve Web Hosting/Co-location
Website Development/Promotion
Mac Consulting/Sales

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About