Help for this page

Select Code to Download


  1. or download this
    my $count = () = /\d/g;
    
  2. or download this
    my $count = tr/0-9//;
    
  3. or download this
    my %freq;
    ++$freq{$_} for split //;