Help for this page

Select Code to Download


  1. or download this
        my @abc = ('a'..'z');
        my %abc = map { ($abc[$_],$_) } (0..25);
        my @key = map { $abc{ lc() } } $key =~ /([a-z])/ig;
    
  2. or download this
            my $new_c;
            if ($c =~ /[a-z]/i) {
    ...
            } else {
                $result .= $c;
            }