in reply to Re: Need help with badwords routine
in thread Need help with badwords routine

Don't use '&' to call a sub, that's deprecated, basically now means a ref-to-sub.
That's wrong. It's deprecated, but:
\&foo is a reference to the sub foo.
&foo is a call to the sub foo which circumvents prototypes, and additionally because of the lack of parentheses it gives the current @_ as an argument to foo.