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; }
In reply to RE: The inheritance of Cruft
by runrig
in thread The inheritance of Cruft
by kilinrax
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |