Search::Dict man page on MirBSD

Man page or keyword search:  
man Server   6113 pages
apropos Keyword Search (all sections)
Output format
MirBSD logo
[printable version]



Search::Dict(3p)Perl Programmers Reference Guide Search::Dict(3p)

NAME
     Search::Dict, look - search for key in dictionary file

SYNOPSIS
	 use Search::Dict;
	 look *FILEHANDLE, $key, $dict, $fold;

	 use Search::Dict;
	 look *FILEHANDLE, $params;

DESCRIPTION
     Sets file position in FILEHANDLE to be first line greater
     than or equal (stringwise) to $key.  Returns the new file
     position, or -1 if an error occurs.

     The flags specify dictionary order and case folding:

     If $dict is true, search by dictionary order (ignore any-
     thing but word characters and whitespace).	 The default is
     honour all characters.

     If $fold is true, ignore case.  The default is to honour
     case.

     If there are only three arguments and the third argument is
     a hash reference, the keys of that hash can have values
     "dict", "fold", and "comp" or "xfrm" (see below), and their
     correponding values will be used as the parameters.

     If a comparison subroutine (comp) is defined, it must return
     less than zero, zero, or greater than zero, if the first
     comparand is less than, equal, or greater than the second
     comparand.

     If a transformation subroutine (xfrm) is defined, its value
     is used to transform the lines read from the filehandle
     before their comparison.

perl v5.8.8		   2005-02-05				1

[top]

List of man pages available for MirBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net