in reply to Re^2: arabic alphabet ... how to deal with?
in thread arabic alphabet ... how to deal with?

OK, As you say that's not the problem you have, but chomp will only remove newlines ($/) whereas chop will remove any last character.
  • Comment on Re^3: arabic alphabet ... how to deal with?