Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    for my $k (sort keys %UH){
      print "Hash contains key '$k'\n";
    }
    
  2. or download this
    use strict;
    use warnings;
    my @items = ('ü','ü','ä', 'Ä');
    my @unique_items = sort keys %{ {map { $_ => 1 } @items} };
    print "@unique_items\n";