Search::Dict(3pm)

Search::Dict3pm

Search for key in dictionary file

Usage

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

Overview

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.

Releases

6 releases since Debian 1.1 (Buzz); the text changed 4 times.

  1. 1.1
  2. 1.2–1.3
  3. 2.0
  4. 2.1
  5. 2.2

From perl-5.004-doc 5.004.05-6 in Debian 2.2 (Potato). Also shipped by perl-5.005-doc. Parsed by carta from the page's man source.