in reply to Re^2: Zero-width assertions fail with splitin thread Zero-width assertions fail with split
Hi,
It may be silly, but, doesn't this do what you want?
perl -e '$a = "1,2,---0---,3,4";@f=split ",",$a;map { print $_."\n"} @f' [download]