http://www.perlmonks.org?node_id=951705


in reply to Displaying of completion time of file transfer

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