Help for this page
my $sql = ",,,,"; print "<$sql>\n"; # <,,,,> $sql =~ s/(?<=,)(?=,)/NULL/g; print "<$sql>\n"; # <,NULL,NULL,NULL,>