in reply to Nagging space after splitting

Look at it another way.
perl -MData::Dumper -e ' $str = ",STRING,"; @ar = split(/,/,$str); print Dumper \@ar;'
should also give you an empty first field, right? Maybe that demo helps make this behavior more understandable.