in reply to System call problem

Tuna, have a look at perlfunc:chomp. andy.