in reply to Compress::Zlib or equivilent
Adding a time stamp to that is trivial (see scalar localtime).... close OUTZ; my $comp_count = (-s $outzfile); printf("Input byte count: %d; output byte count: %d; ratio: %3.1f\n", $read_count, comp_count, 100*$comp_count/$read_count ); # (updated: reporting "100*$read_count/$comp_count would not be right)
|
|---|