Help for this page

Select Code to Download


  1. or download this
    my $sql = ",,,,";
    print "<$sql>\n";               # <,,,,>
    $sql =~ s/(?<=,)(?=,)/NULL/g;
    print "<$sql>\n";               # <,NULL,NULL,NULL,>