Help for this page

Select Code to Download


  1. or download this
      DB<111> @a1=split//,$str1
     => ("A", "B", "C", "D", "E")
    ...
    
      DB<117> (keys %h1, keys %h2)
     => ("A", "O")
    
  2. or download this
      DB<137> $h{$_}++ for (split//,$str1),(split//,$str2)
     => ""
    ...
    
      DB<139> grep {$h{$_}==1} keys %h
     => ("A", "O")
    
  3. or download this
      DB<146> grep {$h{$_}==1} map {$h{$_}++;$_} split//,$str1.$str2
     => ("A", "O")