Help for this page

Select Code to Download


  1. or download this
    $string =~ y/,/,/ == -1 + grep length y/ //dr, split /,/, $string
    
  2. or download this
    $ alias perle
    alias perle='perl -Mstrict -Mwarnings -Mautodie=:all -E'
    ...
    N
    $ perle 'my $x = "a,,c"; say +($x =~ y/,/,/ == -1 + grep length y/ //d
    +r, split /,/, $x) ? "Y" : "N"'
    N