{
    "content": [
        {
            "type": "text",
            "text": "# Search::Dict (perldoc)\n\n**Summary:** Search::Dict - look - search for key in dictionary file\n\n**Synopsis:** use Search::Dict;\nlook *FILEHANDLE, $key, $dict, $fold;\nuse Search::Dict;\nlook *FILEHANDLE, $params;\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (6 lines)\n- **DESCRIPTION** (20 lines)\n\n## Full Content\n\n### NAME\n\nSearch::Dict - look - search for key in dictionary file\n\n### SYNOPSIS\n\nuse Search::Dict;\nlook *FILEHANDLE, $key, $dict, $fold;\n\nuse Search::Dict;\nlook *FILEHANDLE, $params;\n\n### DESCRIPTION\n\nSets file position in FILEHANDLE to be first line greater than or equal (stringwise) to *$key*.\nReturns the new file position, or -1 if an error occurs.\n\nThe flags specify dictionary order and case folding:\n\nIf *$dict* is true, search by dictionary order (ignore anything but word characters and\nwhitespace). The default is honour all characters.\n\nIf *$fold* is true, ignore case. The default is to honour case.\n\nIf there are only three arguments and the third argument is a hash reference, the keys of that\nhash can have values \"dict\", \"fold\", and \"comp\" or \"xfrm\" (see below), and their corresponding\nvalues will be used as the parameters.\n\nIf a comparison subroutine (comp) is defined, it must return less than zero, zero, or greater\nthan zero, if the first comparand is less than, equal, or greater than the second comparand.\n\nIf a transformation subroutine (xfrm) is defined, its value is used to transform the lines read\nfrom the filehandle before their comparison.\n\n"
        }
    ],
    "structuredContent": {
        "command": "Search::Dict",
        "section": "",
        "mode": "perldoc",
        "summary": "Search::Dict - look - search for key in dictionary file",
        "synopsis": "use Search::Dict;\nlook *FILEHANDLE, $key, $dict, $fold;\nuse Search::Dict;\nlook *FILEHANDLE, $params;",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 20,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Search::Dict - look - search for key in dictionary file\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Search::Dict;\nlook *FILEHANDLE, $key, $dict, $fold;\n\nuse Search::Dict;\nlook *FILEHANDLE, $params;\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Sets file position in FILEHANDLE to be first line greater than or equal (stringwise) to *$key*.\nReturns the new file position, or -1 if an error occurs.\n\nThe flags specify dictionary order and case folding:\n\nIf *$dict* is true, search by dictionary order (ignore anything but word characters and\nwhitespace). The default is honour all characters.\n\nIf *$fold* is true, ignore case. The default is to honour case.\n\nIf there are only three arguments and the third argument is a hash reference, the keys of that\nhash can have values \"dict\", \"fold\", and \"comp\" or \"xfrm\" (see below), and their corresponding\nvalues will be used as the parameters.\n\nIf a comparison subroutine (comp) is defined, it must return less than zero, zero, or greater\nthan zero, if the first comparand is less than, equal, or greater than the second comparand.\n\nIf a transformation subroutine (xfrm) is defined, its value is used to transform the lines read\nfrom the filehandle before their comparison.\n",
                "subsections": []
            }
        }
    }
}