in reply to Calculating Row Averages From a CSV File
I am rather new to array processing and perlEverything you need to calculate row averages is in the code you just posted. Why not ask for help in understanding the script you've already got?
Your program has an error btw.
for my $i (0 .. $#col_num) {
@col_num isn't defined anywhere in the program. If you include
use strict; use warnings;
at the beginning of the program, perl will tell you about such errors.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Calculating Row Averages From a CSV File
by rayv (Novice) on Aug 15, 2007 at 11:58 UTC | |
by FunkyMonk (Bishop) on Aug 15, 2007 at 12:11 UTC | |
by rayv (Novice) on Aug 15, 2007 at 13:30 UTC | |
by FunkyMonk (Bishop) on Aug 15, 2007 at 14:16 UTC | |
by rayv (Novice) on Aug 15, 2007 at 14:34 UTC | |
|