Help for this page

Select Code to Download


  1. or download this
    @grt_sorted =
      map {substr $_ => $max_l}
      sort
      map {uc () . ("\0" x ($max_l - length)) . $_} @array;
    
  2. or download this
    map { my $c = uc () . ("\0" x ($max_l - length)) . $_;
          print "$_ => $c\n"; $c } @array;