Thanks for the info. I will certainly look at the module you suggest.
I have found a short-term work-around:
Added
$tot{$key};
$cnt{$key};
just before count++ in the code below
foreach $key (sort keys %tot)
{
$bytetotal += $tot{$key};
$avg = ($tot{$key} / $cnt{$key})...
Hello all,
I am writing a program to read in multiple CSV files that have been exported from Ethereal, sum up the bytes for each second, calculate bits per second, and then average each of the values (bytes and bits) and write all of this data out to a file.
Below is the code I have so far - it...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.