1package Filter::Simple::FilterTest; 2 3use Filter::Simple; 4 5FILTER { 6 my $class = shift; 7 while (my($pat, $str) = splice @_, 0, 2) { 8 s/$pat/$str/g; 9 } 10}; 11 121; 13