in reply to Duplicate Words
@Lines = split /\W+/, $Contents; While (<@Lines>) { $Contents ~= s/$_//; } [download]
This is my guess, I'm totally new to Perl.
2001-04-20 Edit by Corion : Added CODE tags