in reply to another split question

A couple of ways:
@elements = split /(?<=,)/, $text;
or
@elements = $text =~ /([^,]+,?)/g;