I usually find it easier to maintain code that uses split though.use strict; use strict; while (<DATA>) { s/(?<=\|)\|/empty|/g; print; } __DATA__ |a||| |||| |||a|
In reply to Re: pipe delimited file problem
by imp
in thread pipe delimited file problem
by lakeTrout
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |