home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


look

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:

fh

Filehandle of the dictionary file.

key

Key to search for.

dict

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

fold

If true, ignore case.


Previous: 8.127 Search::Dict Perl in a Nutshell Next: 8.127 Search::Dict
8.127 Search::Dict Book Index 8.127 Search::Dict

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.