in reply to chomp not working in array
map { s/(?:^\s+|\s+$)//g; print "$_\n"; } @phrase; [download]