in reply to Re: Badwords Routine
in thread Badwords Routine

I figured it out:
$bad_entered =($badword);
Then I just pring $bad_entered. Thanks.

Replies are listed 'Best First'.
Re^3: Badwords Routine
by ig (Vicar) on Aug 15, 2009 at 06:28 UTC

    Or maybe push(@bad_entered, $badword);, in case more than one bad word is found. You can then print the list of bad words (@bad_entered) in the email.