push @p, pos $l while $l =~ m{(?=,)}g; #### push @p, @- while $l =~ /,/g;