Help for this page

Select Code to Download


  1. or download this
    #! perl
    use strict;
    ...
    
    @matches = sort { length $a <=> length $b } @matches;
    print "The closest match is:  ", $matches[-1], "\n";
    
  2. or download this
    fal
    falle
    fall
    
  3. or download this
     2:31 >perl 454_SoPW.pl
    Enter the target word: fallen
    The closest match is:  falle
    
     2:31 >