When I use an array with 'undef' values in it it spits out this error
message:
use of uninitialized value $column in pattern match (m//) at
C:/Perl512/site/lib/
Text/CSV/Base.pm line 166.
use of uninitialized value $column in substitution (s///) at
C:/Perl512/site/lib/
Text/CSV/Base.pm line 181.
To solve I went through the array and replaced the undef's with ''.
sample code to reproduce the problem:
my @array;
$array[1] = 'hello';
$array[3] = 'world';
if ($csv->combine(@array)) {
my $string = $csv->string;
print $string, "\n";
}
else {
my $err = $csv->error_input;
print "combine() failed on argument: ", $err, "\n";
}
However, this problem doesnt occur on the regular Text::CSV.
Thanks,
Dave