Help for this page

Select Code to Download


  1. or download this
    sub dictcmp
    {
    ...
          $bc = $b[3];
       }
    }
    
  2. or download this
    my @list = ( "x10 y", "1abc", "a10y", "x9y", " b1" );
    print join "\n", sort dictcmp @list;
    
  3. or download this
    1abc
    a10y
     b1
    x9y
    x10 y