Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

perlman:Search::Dict

by root (Monk)
on Dec 23, 1999 at 00:53 UTC ( [id://1238]=perlfunc: print w/replies, xml ) Need Help??

Search::Dict

See the current Perl documentation for Search::Dict.

Here is our local, out-dated (pre-5.6) version:


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



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



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.


Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (2)
As of 2025-05-17 02:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.