in reply to Open file & Strip comma delimiter
print OUT "$var1,"|",$var2,"|",$var3,"|", ... ^ [download]