in reply to Re: Badwords Routinein thread Badwords Routine
$bad_entered =($badword); [download]
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.