in reply to Re^2: Zero-width assertions fail with split
in 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'
--
if ( 1 ) { $postman->ring() for (1..2); }