{
    "mode": "perldoc",
    "parameter": "URI::URL",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/URI%3A%3AURL/json",
    "generated": "2026-06-11T06:02:53Z",
    "synopsis": "$u1 = URI::URL->new($str, $base);\n$u2 = $u1->abs;",
    "sections": {
        "NAME": {
            "content": "URI::URL - Uniform Resource Locators\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "$u1 = URI::URL->new($str, $base);\n$u2 = $u1->abs;\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This module is provided for backwards compatibility with modules that depend on the interface\nprovided by the \"URI::URL\" class that used to be distributed with the libwww-perl library.\n\nThe following differences exist compared to the \"URI\" class interface:\n\n*  The URI::URL module exports the url() function as an alternate constructor interface.\n\n*  The constructor takes an optional $base argument. The \"URI::URL\" class is a subclass of\n\"URI::WithBase\".\n\n*  The URI::URL->newlocal class method is the same as URI::file->newabs.\n\n*  URI::URL::strict(1)\n\n*  $url->printon method\n\n*  $url->crack method\n\n*  $url->fullpath: same as ($uri->abspath || \"/\")\n\n*  $url->netloc: same as $uri->authority\n\n*  $url->epath, $url->equery: same as $uri->path, $uri->query\n\n*  $url->path and $url->query pass unescaped strings.\n\n*  $url->pathcomponents: same as $uri->pathsegments (if you don't consider path segment\nparameters)\n\n*  $url->params and $url->eparams methods\n\n*  $url->base method. See URI::WithBase.\n\n*  $url->abs and $url->rel have an optional $base argument. See URI::WithBase.\n\n*  $url->frag: same as $uri->fragment\n\n*  $url->keywords: same as $uri->querykeywords\n\n*  $url->localpath and friends map to $uri->file.\n\n*  $url->address and $url->encoded822addr: same as $uri->to for mailto URI\n\n*  $url->groupart method for news URI\n\n*  $url->article: same as $uri->message\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "URI, URI::WithBase\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright 1998-2000 Gisle Aas.\n",
            "subsections": []
        }
    },
    "summary": "URI::URL - Uniform Resource Locators",
    "flags": [],
    "examples": [],
    "see_also": []
}