It seems highly likely that the variables you are printing have trailing carriage returns. Try stripping these before printing. eg:
$csvContent[0] =~ s/\r$//;
etc.
In reply to Re: Strings overwrite themselves in print command
by hippo
in thread Strings overwrite themselves in print command
by tdsny71
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |