The Other1 wrote:
> Hi John,
Hello,
> Thank you so much for the code you posted, it works great and is pretty
> elegant. If you have a second, could you explain this line to me?
>
> if ( $row->[ $column ] =~ /^[\d.+-]+$/ ) {
>
> And this one as well:
> if ( $column =~ /^[\d.+-]+$/ ) {
The Other1 wrote:
> Hi all,
Hello,
> Sorta newbie here...
>
> I have parsed log files and have an array of arrays that looks like this:
>
> [...]
> 1 0.0 0.000 31.954 36.169 12.645 20:40
> 16 1048.0 16.196 15.825 52.502 5.150 20:40
> 8 1281.7 12.059 9.634 41.264 4.869 20:40
> 9 1157.7 19.094 16
On Thu, 2006-20-04 at 20:55 -0600, The Other1 wrote:
> My question is how to walk through the array grabbing column 1 of four rows,
> pass those values to the Average function (or if there is a beter way, I am
> open to it!), store the average to be used by GD later, then do the next
> column, e