in reply to search for vertical bars
if(param('des') || param('title') =~ m/\|/g){ &inerror("You can't include |'s in your text"); } [download]
That is incorrect. You cannot do a regexp match on two values like that. You are performing a match on what (param('des') || param('title')) evaluates to.