in reply to Re: printing CSV to file? in thread printing CSV to file?
$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?
|