Changeset 2089 for Swishetest/trunk/GetDictionaryWords.pm
- Timestamp:
- 03/18/08 14:02:34 (10 months ago)
- Files:
-
- Swishetest/trunk/GetDictionaryWords.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
Swishetest/trunk/GetDictionaryWords.pm
r1965 r2089 4 4 use warnings; 5 5 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) 8 10 # returns ref to array of the read words and ref to hash of word->count 9 11 sub get_dictionary_words {
