in reply to Trying to strip the Pipe "|" character from a string
s/\|//g; [download]
Or use the tr/// operator:
tr/|//d [download]
There's good information on the subject in perlrequick, perlretut, perlop, and perlre. ...lots of reading, I know. But it's helpful.
Dave