{
    "content": [
        {
            "type": "text",
            "text": "# URI::Split (perldoc)\n\n## NAME\n\nURI::Split - Parse and compose URI strings\n\n## SYNOPSIS\n\nuse URI::Split qw(urisplit urijoin);\n($scheme, $auth, $path, $query, $frag) = urisplit($uri);\n$uri = urijoin($scheme, $auth, $path, $query, $frag);\n\n## DESCRIPTION\n\nProvides functions to parse and compose URI strings. The following functions are provided:\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **SEE ALSO**\n- **COPYRIGHT**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "URI::Split",
        "section": "",
        "mode": "perldoc",
        "summary": "URI::Split - Parse and compose URI strings",
        "synopsis": "use URI::Split qw(urisplit urijoin);\n($scheme, $auth, $path, $query, $frag) = urisplit($uri);\n$uri = urijoin($scheme, $auth, $path, $query, $frag);",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 17,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "URI::Split - Parse and compose URI strings\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use URI::Split qw(urisplit urijoin);\n($scheme, $auth, $path, $query, $frag) = urisplit($uri);\n$uri = urijoin($scheme, $auth, $path, $query, $frag);\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Provides functions to parse and compose URI strings. The following functions are provided:\n\n($scheme, $auth, $path, $query, $frag) = urisplit($uri)\nBreaks up a URI string into its component parts. An \"undef\" value is returned for those\nparts that are not present. The $path part is always present (but can be the empty string)\nand is thus never returned as \"undef\".\n\nNo sensible value is returned if this function is called in a scalar context.\n\n$uri = urijoin($scheme, $auth, $path, $query, $frag)\nPuts together a URI string from its parts. Missing parts are signaled by passing \"undef\" for\nthe corresponding argument.\n\nMinimal escaping is applied to parts that contain reserved chars that would confuse a\nparser. For instance, any occurrence of '?' or '#' in $path is always escaped, as it would\notherwise be parsed back as a query or fragment.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "URI, URI::Escape\n",
                "subsections": []
            },
            "COPYRIGHT": {
                "content": "Copyright 2003, Gisle Aas\n\nThis library is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself.\n",
                "subsections": []
            }
        }
    }
}