tags:

views:

119

answers:

2
+5  A: 

Exactly how you're doing it.

chomp( @array );

Will chomp every element in the array.

Zachary
+8  A: 

Exactly like that.

chomp @list;

'perldoc -f chomp' for more info.

signine