Полезная информация

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 8.127 Search::DictChapter 8
Standard Modules
Next: 8.127 Search::Dict


look *fh, key, dict, fold

Performs string search and sets the position in filehandle fh to the first line with a key equal to or greater than key. Returns the new file position, or -1 in case of error. Takes the following arguments:


Filehandle of the dictionary file.


Key to search for.


If true, searches in dictionary order, considering only word characters and whitespace.


If true, ignore case.

Previous: 8.127 Search::DictPerl in a NutshellNext: 8.127 Search::Dict
8.127 Search::DictBook Index8.127 Search::Dict