Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    
    ...
    %hash = map {$_ => $_} split //, $str;
    
    print qq{$_ => $hash{$_}\n} for sort keys %hash;
    
  2. or download this
    # ./t.pl
    a => a
    ...
    e => e
    f => f
    g => g