http://www.perlmonks.org?node_id=1038036


in reply to chomp each element of array

I need to chomp each element of array

chomp @array; # does just that.

Cheers, Sören

(hooked on the Perl Programming language)