On Thursday 24 June 2004 02:07 pm, Radhika Sambamurti wrote: > Hi folks, > My task is to calculate the download speed taken by a program, that can > download images either by ftp, http or smbclient. One way I am thinking of > doing this is by calculating the total download size by time taken. getting > the size is easier than calculating the time taken for the download. > > Any pointers would help. > > thanks, > Radhika
Hi - Look at the various timer methods in Time::HiRes on CPAN. I am sure one of those will work for you. Aloha => Beau; -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>