Manpages

Manpage of Search::Dict

Search::Dict

Section: Perl Programmers Reference Guide (3perl)
Updated: 2001-02-22
Index
Return to Main Contents
 

NAME

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

SYNOPSIS

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


 

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 anything but word characters and whitespace).

If $fold is true, ignore case.


 

Index

NAME
SYNOPSIS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 18:35:33 GMT, April 16, 2024