DrAxeman has asked for the wisdom of the Perl Monks concerning the following question:
Current output looks like:my %avgsHash; @avgsHash{ @cols } = map {to_decimal($_)} @avgs; print "Server,Statistic,Average\n"; printf("%s,%f\n", $_, $avgsHash{$_}) for @cols;
Server,Statistic,Average ERRWWW_CPUPCT,5.1221 ERRWWW_RAMPCT,12.2332
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Modifying array data during print
by Zaxo (Archbishop) on Aug 07, 2005 at 04:18 UTC | |
|
Re: Modifying array data during print
by davidrw (Prior) on Aug 07, 2005 at 14:10 UTC |