Help for this page

Select Code to Download


  1. or download this
    my %dict = map {split /\s/,$_,2} <$d>;
    close $d;
    ...
        print "$_ is not in the dictionary\n";
      }
    }
    
  2. or download this
    my %dict = map split( ' ', $_, 2 ), <$d>;
    close $d;
    ...
        print "$word is not in the dictionary\n";
      }
    }