in reply to Export CSV v2
Have you looked at line 22?
When does getline return an undef? Your input probably contains only one line, already consumed by $columnNames.# Get vars from second line my @vars = @{ $csv->getline($csvfh) };
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
In Section
Seekers of Perl Wisdom