in reply to printing CSV to file?

Eeeuhmmm.. What does $csv->print do?

Replies are listed 'Best First'.
Re^2: printing CSV to file?
by Thargor (Scribe) on May 10, 2005 at 17:10 UTC
    $csv->print requires a IO::File or IO::Wrap to open the file to output. The problem I am running into is that there are no \n's at the end of each of my lines of data in my %hashed{key}->(ref'd array) so they all print out on 1 line in a csv file with the last column from the previous key and the first column from the current key squished together. So, now that I think about it is there a way to put a \n at the end of each of my lines of data in an efficient way as this could be handling over 40k lines of data?