Help for this page

Select Code to Download


  1. or download this
    sub count {
       my $str = shift;
    ...
       $h{$_}++ for split //, $str;
       return \%h;
    }
    
  2. or download this
    sub check {
       my ($target, $word) = @_;
    ...
       }
       return 1;
    }