in reply to Perl to Add newline at the end of each row of comma seperated strings in an array ?
print("'@csvtemp'"); [download]
to:
print "'$_'\n" for @csvtemp; [download]