Help for this page

Select Code to Download


  1. or download this
      my %tr;
      sub normalise { 
    ...
        &$tr for $s; 
        $s;
      }
    
  2. or download this
      $count = () = ($s =~ /[$search]/g)
    
  3. or download this
      $count = ($s ^ ($search x length $s)) =~ tr/\0/\0/