Help for this page

Select Code to Download


  1. or download this
    my %mapping;
    while (<>) {
    ...
      my @aliases = sort @{$mapping{$word}};
      print "$word=", join(", ", @aliases), "\n";
    }
    
  2. or download this
    my %mapping;
    while (<>) {
    ...
      my @aliases = sort keys %{$mapping{$word}};
      print "$word=", join(", ", @aliases), "\n";
    }