czachary has asked for the wisdom of the Perl Monks concerning the following question:

Hello all, Is there a way in Perl to display the time I takes to upload/download a file via CGI? Is there a module out there that could facilitate this?
  • Comment on Displaying of completion time of file transfer

Replies are listed 'Best First'.
Re: Displaying of completion time of file transfer
by InfiniteSilence (Curate) on Feb 03, 2012 at 20:13 UTC

    linux~> perl -e 'my $a = time; sleep 9; my $b = time; print $b-$a;'
    Take the time at the beginning, do stuff ,take the time at the end, and subtract.

    Celebrate Intellectual Diversity