Changeset 2089

Show
Ignore:
Timestamp:
03/18/08 14:02:34 (2 months ago)
Author:
joshr
Message:

improve comment for get_dictionary_words().

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Swishetest/trunk/GetDictionaryWords.pm

    r1965 r2089  
    44use warnings; 
    55 
    6 # given a /usr/dict/words type file, whether or not to be case-sensitive, and a max amount of words (0 means no limit) 
    7 # reads word-like lines (one word per line) 
     6# get_dictonary_words( $dict, [$case_sensitive_bool], [max_words] ) 
     7#  given a /usr/dict/words type file, whether or not to be case-sensitive,  
     8#  and a max amount of words (0 means no limit) 
     9#  reads word-like lines (one word per line) 
    810# returns ref to array of the read words and ref to hash of word->count 
    911sub get_dictionary_words {