in reply to The inheritance of Cruft
sub doLookup { local($str,$i); $str = $_[0]; # Is this an IgnoredWord? for ($i = 0; $i < @gIgnoreWords; $i++) { if ($str eq $gIgnoreWords[$i]) { return ""; } } # Is this a ReplacedWord? for ($i = 0; $i < @gOldWords; $i++) { if ($str eq $gOldWords[$i]) { return $gNewWords[$i]; } } return $str; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: The inheritance of Cruft
by arturo (Vicar) on Oct 25, 2000 at 01:31 UTC |