{
    "mode": "perldoc",
    "parameter": "URI::Split",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/URI%3A%3ASplit/json",
    "generated": "2026-05-30T10:09:02Z",
    "synopsis": "use URI::Split qw(urisplit urijoin);\n($scheme, $auth, $path, $query, $frag) = urisplit($uri);\n$uri = urijoin($scheme, $auth, $path, $query, $frag);",
    "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\nfunctions are provided:\n\n($scheme, $auth, $path, $query, $frag) = urisplit($uri)\nBreaks up a URI string into its component parts. An \"undef\" value is\nreturned for those parts that are not present. The $path part is\nalways present (but can be the empty string) and is thus never\nreturned as \"undef\".\n\nNo sensible value is returned if this function is called in a scalar\ncontext.\n\n$uri = urijoin($scheme, $auth, $path, $query, $frag)\nPuts together a URI string from its parts. Missing parts are\nsignaled by passing \"undef\" for the corresponding argument.\n\nMinimal escaping is applied to parts that contain reserved chars\nthat would confuse a parser. For instance, any occurrence of '?' or\n'#' in $path is always escaped, as it would otherwise be parsed back\nas 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\nunder the same terms as Perl itself.\n",
            "subsections": []
        }
    },
    "summary": "URI::Split - Parse and compose URI strings",
    "flags": [],
    "examples": [],
    "see_also": []
}