in reply to Appending string to all lines
perl script.pl test2.csv > final.csv [download]
use strict; use warnings; while (my $line = <>) { chomp $line; print "$line", " ,UF, A, Y, 9, U\n"; } [download]