Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: search for vertical bars

by DamnDirtyApe (Curate)
on Jul 17, 2002 at 22:03 UTC ( [id://182604] : note . print w/replies, xml ) Need Help??


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