$string =~ tr/|/|/s;
Difference between tr/// and s///?
In reply to Re: how to remove empty pipe delimiters in a line which doesn't contain any data
by trippledubs
in thread how to remove empty pipe delimiters in a line which doesn't contain any data
by rpinnam
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |