in reply to Using += in array context
It should work perfectly the first time! - tomause Data::Table; my $sum=0; # my $t= Data::Table::fromSQL ($dbh, $sql, $vars); # Database versio +n my $t= Data::Table::fromCSV("data.csv"); $sum += $_ for($t->col('exp')); print $sum,"\n";
|
|---|