in reply to Re^2: Concatenation appends to front of variable
in thread Concatenation appends to front of variable

Avoid chop. It is a rather blunt tool and will cause wailing and gnashing of teeth. If chomp didn't do the job then most likely the line ends are not what you think they are. Are you processing Windows generated files on a *nix box perchance?


True laziness is hard work
  • Comment on Re^3: Concatenation appends to front of variable