in reply to Re: Need help with badwords routinein thread Need help with badwords routine
Anyway, amend
open(BADWORDS,"$badword_file"); [download]
open(BADWORDS,"<","$badword_file") or die "Unable to open badword_ +file: $! \n"; [download]