@phi2 = `ls *.csv`; chomp @phi2; # chomp will apply to every element of the array