Help for this page

Select Code to Download


  1. or download this
        my $repl = '$1';
        my $str = "a,A,c,d";
    ...
        say $str;
        __END__
        aA,cd
    
  2. or download this
        my $repl = '$1';
        eval <<"EOT";
    ...
                \$str =~ s/([a-z]),/$repl/g;
            }
        EOT