in reply to Re^2: Printing to file from Text::CSV_XS
in thread Printing to file from Text::CSV_XS

Your subroutine cleanthis joins all the fields into one. Return a list instead and let Text::CSV_XS handle the joining.

($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,

Replies are listed 'Best First'.
Re^4: Printing to file from Text::CSV_XS
by edimusrex (Monk) on Jan 28, 2016 at 17:14 UTC

    ah, I knew it was probably something simple. Thank you

    Changing return join("\t",@formatted) to simply return (@formatted) did the trick