in reply to Re^3: CSV SPLIT
in thread CSV SPLIT

hey the cpan gives an error that says " Expected fields to be in an array "

and the line is

$status = $csv->print ($io, $colref);

Replies are listed 'Best First'.
Re^5: CSV SPLIT
by space_monk (Chaplain) on Jun 21, 2013 at 05:56 UTC

    Well, is $colref a reference to an array in your code or not?

    Post your code and some data, you can modify your original question to do this.

    If you spot any bugs in my solutions, it's because I've deliberately left them in as an exercise for the reader! :-)