in reply to how to remove empty pipe delimiters in a line which doesn't contain any data

You can also use the transliteration operator with the 's' modifier. Quote Like Operators
$string =~ tr/|/|/s;

Difference between tr/// and s///?

  • Comment on Re: how to remove empty pipe delimiters in a line which doesn't contain any data
  • Download Code