&error2(bad_words) if ($badword_found == 1);'bad_words' is a bareword. You would have gotten a compile error if you had used use strict;. I suspect this is part of your problem. See also use strict and warnings.
In reply to Re: Badwords Routine
by toolic
in thread Badwords Routine
by htmanning
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |