in reply to FLAT FILE Pipedemimited
You've got $fh and $csv reversed in your statement.
while (my $row = $csv->getline($fh)) {
should be
while (my $row = $fh->getline($csv)) {
$fh is the object with a getline method. It takes the file handle as an argument.
|
|---|