1package Filter::Simple::CodeNoComments; 2 3use Filter::Simple; 4 5FILTER_ONLY 6 code_no_comments => sub { 7 shift; 8 while (my($pat, $str) = splice @_, 0, 2) { 9 s/$pat/$str/g; 10 } 11 }; 12 131; 14