http://www.perlmonks.org?node_id=182604


in reply to search for vertical bars

I think what you mean to say is:

if(param("des") =~ m[\|] || param("title") =~ m[\|]) { &inerror("You cant include |'s in your text"); }

_______________
D a m n D i r t y A p e
Home Node | Email