and save the $Contents as your returning string.@Lines = split /\W+/, $Contents; While (<@Lines>) { $Contents ~= s/$_//; }
This is my guess, I'm totally new to Perl.
2001-04-20 Edit by Corion : Added CODE tags
In reply to Re: Duplicate Words
by Anonymous Monk
in thread Duplicate Words
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |