CINXE.COM
URI - Uniform Resource Identifiers (absolute and relative) - metacpan.org
<!DOCTYPE html> <html lang="en-US"> <head> <title>URI - Uniform Resource Identifiers (absolute and relative) - metacpan.org</title> <link rel="preload" as="fetch" href="/account/login_status" crossorigin="anonymous" /> <link href="/assets/style-XFEQ536G.css" rel="stylesheet" type="text/css"> <script src="/assets/main-WXBSEDQJ.js" type="module"></script> <link rel="alternate" type="application/rss+xml" title="Recent CPAN Uploads of URI - MetaCPAN" href="/dist/URI/releases.rss" /> <link rel="canonical" href="https://metacpan.org/pod/URI" /> <meta name="description" content="Uniform Resource Identifiers (absolute and relative)" /> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5"> <link rel="shortcut icon" href="/static/icons/favicon.ico"> <link rel="apple-touch-icon" sizes="152x152" href="/static/icons/apple-touch-icon.png"> <link rel="search" href="/static/opensearch.xml" type="application/opensearchdescription+xml" title="MetaCPAN"> <script async src="https://perl-ads.perlhacks.com/perl-ads.js"></script> <script async src="https://www.googletagmanager.com/gtag/js?id=G-E82Q2V8LVD"></script> <meta property="og:site_name" content="MetaCPAN" /> <meta name="twitter:site" content="@metacpan" /> <meta property="og:type" content="article" /> <meta name="twitter:card" content="summary" /> <meta property="og:url" content="https://metacpan.org/pod/URI" /> <meta property="og:title" content="URI" /> <meta property="og:description" content="Uniform Resource Identifiers (absolute and relative)" /> <meta property="og:image" content="https://metacpan.org/static/images/dots.png" /> </head> <body> <nav class="navbar navbar-default" role="navigation"> <div class="header-logo-large hidden-xs"> <a href="/" tabindex="0"> <svg class="logo" aria-label="MetaCPAN"> <use class="logo" href="/static/images/metacpan-logo.svg#logo" /> </svg> </a> </div> <div class="header-logo-icon visible-xs"> <a href="/"> <svg class="logo" aria-label="MetaCPAN"> <use class="logo" href="/static/images/metacpan-logo.svg#dots" /> </svg> </a> </div> <ul class="nav navbar-nav menu-items hidden-xs hidden-sm"> <li><a href="/about">About</a></li> <li><a href="/about/sponsors">Sponsor</a></li> <li><a href="https://grep.metacpan.org/">grep::cpan</a></li> <li><a href="/recent">Recent</a></li> <li><a href="/about/faq">FAQ</a></li> <li><a href="/tools">Tools</a></li> <li><a href="https://fastapi.metacpan.org/">API</a></li> </ul> <ul class="nav navbar-nav navbar-right"> <button type="button" class="searchbar-btn visible-xs visible-sm"> <i class="fa fa-search button-fa-icon"></i> </button> <form action="/search" class="searchbar-form visible-md visible-lg search-form form-horizontal"> <input type="hidden" name="size" id="metacpan_search-size" value="20"> <div class="form-group"> <div class="search-group"> <i class="fa fa-search"></i> <input type="text" name="q" placeholder="Search the CPAN" size="41" autocorrect="off" autocapitalize="off" spellcheck="false" id="metacpan_search-input" class="form-control" value=""> </div> </div> </form> <li class="icon-slidepanel visible-xs visible-sm"> <button data-toggle="slidepanel" data-target=".slidepanel"> <span class="button-fa-icon"> <i class="fa fa-bars slidepanel-open"></i> <i class="fa fa-times slidepanel-close"></i> </span> </button> </li> <li class="dropdown login-dropdown show-logged-in"> <button type="button" class="dropdown-toggle" data-toggle="dropdown"> <i class="fa fa-user button-fa-icon logged-in-icon" aria-hidden="true"></i> <i class="fas fa-chevron-down"></i> </button> <ul class="dropdown-menu"> <li><a href="/account/identities">Identities</a></li> <li><a href="/account/profile">Profile</a></li> <li><a href="/account/favorite/list">Favorites</a></li> <li> <a href="#" type="button" class="logout-button"> Logout </a> </li> </ul> </li> <li class="dropdown login-dropdown show-logged-out"> <button type="button" class="dropdown-toggle" data-toggle="dropdown"> <i class="fa fa-user button-fa-icon avatar-placeholder" aria-hidden="true"></i> <i class="fas fa-chevron-down"></i> </button> <ul class="dropdown-menu"> <li> <a href="/login/github"> <i class="fab fa-github fa-fw"></i> GitHub </a> </li> <li> <a href="/login/twitter"> <i class="fab fa-twitter fa-fw"></i> Twitter </a> </li> <li> <a href="/login/google"> <i class="fab fa-google fa-fw"></i> Google </a> </li> </ul> </li> <li class="dropdown login-dropdown hide-logged-in hide-logged-out"> <button> <i class="fa fa-user button-fa-icon" aria-hidden="true"></i> </button> </li> </ul> </nav> <div class="page-content "> <div id="perl-ad-target" class="top-notify-banner perl-ad-target"> </div> <nav class="sidebar"> <div class="slidepanel"> <ul class="nav-list "> <li class="nav-header no-margin-top"> <div class="ttip" data-toggle="tooltip" data-placement="bottom" title="The date that this version of URI was released."> <span class="relatize">06 Nov 2024 03:39:48 UTC</span> </div> </li> <li> Distribution: <a href="/dist/URI">URI</a> </li> <li> Module version: 5.31 </li> <li> <a data-keyboard-shortcut="g s" href="/dist/URI/source/lib/URI.pm">Source</a> (<a href="/dist/URI/source/lib/URI.pm?raw=1">raw</a>) </li> <li> <a data-keyboard-shortcut="g b" href="/dist/URI/source/lib">Browse</a> (<a href="/dist/URI/source/lib?raw=1">raw</a>) </li> <li> <a data-keyboard-shortcut="g c" href="/dist/URI/changes">Changes</a> </li> <li> <a rel="noopener nofollow" class="nopopup" href="https://github.com/libwww-perl/URI">Homepage</a> </li> <li> <a class="nopopup" href="/dist/URI/contribute">How to Contribute</a> </li> <li> <a rel="noopener nofollow" data-keyboard-shortcut="g r" href="https://github.com/libwww-perl/URI">Repository</a> </li> <li> <a rel="noopener nofollow" data-keyboard-shortcut="g i" href="https://github.com/libwww-perl/URI/issues">Issues</a> (30) </li> <li> <a rel="noopener nofollow" href="http://matrix.cpantesters.org/?dist=URI+5.31" title="Matrix">Testers</a> </li> <li> <a rel="noopener nofollow" href="http://cpants.cpanauthors.org/release/OALDERS/URI-5.31">Kwalitee</a> </li> <li> <div class="ttip" data-toggle="tooltip" data-placement="bottom" title="The # people with an indexing permission on URI who have released something to CPAN in the last 2 years (i.e. the # people likely able to release critical fixes in a timely manner)"> Bus factor: 6 </div> </li> <li> License: perl_5 </li> <li> Perl: v5.8.1 </li> <li class="chat-banner"> <div><a rel="noopener nofollow" target="_blank" href="https://kiwiirc.com/nextclient/#irc://irc.perl.org/#lwp?nick=mc-guest-?">Chat with us!</a></div> </li> <li class="nav-header">Activity</li> <li> <div class="activity-graph"> <img src="/dist/URI/activity.svg?res=month" /> <div class="comment">24 month</div> </div> </li> <li class="nav-header">Tools</li> <li> <a itemprop="downloadUrl" href="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/URI-5.31.tar.gz"> Download (<span itemprop="fileSize">128.68KB</span>)</a> </li> <li> <a href="https://explorer.metacpan.org/?url=%2Fmodule%2FOALDERS%2FURI-5.31%2Flib%2FURI.pm"> MetaCPAN Explorer </a> </li> <li> <a href="/dist/URI/permissions"> Permissions </a> </li> <li> <a href="/dist/URI/releases.rss"> Subscribe to distribution </a> </li> <li> <button class="btn btn-link" data-toggle="modal" data-target="#metacpan_install-instructions-dialog"> Install Instructions </button> </li> <li> <form action="/search"> <input type="hidden" name="q" value="dist:URI"> <input type="search" name="q" placeholder="Search distribution" class="form-control tool-bar-form"> <input type="submit" style="display: none"> </form> </li> <li> <form action="https://grep.metacpan.org/search"> <input type="hidden" name="qd" value="URI"> <input type="hidden" name="source" value="metacpan"> <input type="search" name="q" placeholder="grep distribution" class="form-control tool-bar-form"> <input type="submit" style="display: none"> </form> </li> <li class="version-jump"> <select class="select-navigator form-control tool-bar-form"> <option disabled selected>Jump to version</option> <option disabled value="/release/OALDERS/URI-5.31/view/lib/URI.pm" >5.31 (OALDERS on 2024-11-06)</option> <option value="/release/OALDERS/URI-5.29/view/lib/URI.pm" >5.29 (OALDERS on 2024-09-05)</option> <option value="/release/OALDERS/URI-5.28/view/lib/URI.pm" >5.28 (OALDERS on 2024-03-27)</option> <option value="/release/OALDERS/URI-5.27/view/lib/URI.pm" >5.27 (OALDERS on 2024-02-09)</option> <option value="/release/OALDERS/URI-5.26/view/lib/URI.pm" >5.26 (OALDERS on 2024-02-02)</option> <option value="/release/OALDERS/URI-5.25/view/lib/URI.pm" >5.25 (OALDERS on 2024-01-27)</option> <option value="/release/OALDERS/URI-5.24/view/lib/URI.pm" >5.24 (OALDERS on 2024-01-26)</option> <option value="/release/OALDERS/URI-5.23/view/lib/URI.pm" >5.23 (OALDERS on 2024-01-25)</option> <option value="/release/OALDERS/URI-5.22/view/lib/URI.pm" >5.22 (OALDERS on 2024-01-25)</option> <option value="/release/OALDERS/URI-5.21/view/lib/URI.pm" >5.21 (OALDERS on 2023-08-23)</option> <option value="/release/OALDERS/URI-5.20/view/lib/URI.pm" >5.20 (OALDERS on 2023-08-23)</option> <option value="/release/SIMBABQUE/URI-5.19/view/lib/URI.pm" >5.19 (SIMBABQUE on 2023-04-30)</option> <option value="/release/SIMBABQUE/URI-5.18/view/lib/URI.pm" >5.18 (SIMBABQUE on 2023-04-29)</option> <option value="/release/OALDERS/URI-5.17/view/lib/URI.pm" >5.17 (OALDERS on 2022-11-02)</option> <option value="/release/OALDERS/URI-5.16/view/lib/URI.pm" >5.16 (OALDERS on 2022-10-12)</option> <option value="/release/OALDERS/URI-5.15/view/lib/URI.pm" >5.15 (OALDERS on 2022-10-11)</option> <option value="/release/OALDERS/URI-5.14/view/lib/URI.pm" >5.14 (OALDERS on 2022-10-10)</option> <option value="/release/OALDERS/URI-5.13/view/lib/URI.pm" >5.13 (OALDERS on 2022-10-06)</option> <option value="/release/OALDERS/URI-5.12/view/lib/URI.pm" >5.12 (OALDERS on 2022-07-10)</option> <option value="/release/OALDERS/URI-5.10/view/lib/URI.pm" >5.10 (OALDERS on 2021-10-25)</option> <option value="/release/OALDERS/URI-5.09/view/lib/URI.pm" >5.09 (OALDERS on 2021-03-03)</option> <option value="/release/ETHER/URI-5.08/view/lib/URI.pm" >5.08 (ETHER on 2021-02-28)</option> <option value="/release/OALDERS/URI-5.07/view/lib/URI.pm" >5.07 (OALDERS on 2021-01-29)</option> <option value="/release/OALDERS/URI-5.06/view/lib/URI.pm" >5.06 (OALDERS on 2021-01-14)</option> <option value="/release/OALDERS/URI-5.05/view/lib/URI.pm" >5.05 (OALDERS on 2020-10-21)</option> <option value="/release/OALDERS/URI-1.76/view/lib/URI.pm" >1.76 (OALDERS on 2019-01-09)</option> <option value="/release/GAAS/URI-1.60/view/lib/URI.pm" >1.60 (GAAS on 2012-03-25)</option> <option value="/release/GAAS/URI-1.40/view/lib/URI.pm" >1.40 (GAAS on 2009-08-14)</option> <optgroup label="BackPAN">' <option value="/release/OALDERS/URI-5.30/view/lib/URI.pm" >5.30 (OALDERS on 2024-10-08)</option> <option value="/release/OALDERS/URI-5.11/view/lib/URI.pm" >5.11 (OALDERS on 2022-07-04)</option> <option value="/release/OALDERS/URI-1.75/view/lib/URI.pm" >1.75 (OALDERS on 2019-01-08)</option> <option value="/release/ETHER/URI-1.74/view/lib/URI.pm" >1.74 (ETHER on 2018-04-23)</option> <option value="/release/ETHER/URI-1.73/view/lib/URI.pm" >1.73 (ETHER on 2018-01-09)</option> <option value="/release/ETHER/URI-1.72/view/lib/URI.pm" >1.72 (ETHER on 2017-07-26)</option> <option value="/release/ETHER/URI-1.71/view/lib/URI.pm" >1.71 (ETHER on 2016-01-08)</option> <option value="/release/ETHER/URI-1.70_001/view/lib/URI.pm" >1.70_001 DEV (ETHER on 2015-12-29)</option> <option value="/release/ETHER/URI-1.69/view/lib/URI.pm" >1.69 (ETHER on 2015-07-25)</option> <option value="/release/ETHER/URI-1.68/view/lib/URI.pm" >1.68 (ETHER on 2015-06-26)</option> <option value="/release/OALDERS/URI-1.67_01/view/lib/URI.pm" >1.67_01 DEV (OALDERS on 2015-06-24)</option> <option value="/release/ETHER/URI-1.67/view/lib/URI.pm" >1.67 (ETHER on 2015-02-24)</option> <option value="/release/ETHER/URI-1.66/view/lib/URI.pm" >1.66 (ETHER on 2015-02-24)</option> <option value="/release/ETHER/URI-1.65/view/lib/URI.pm" >1.65 (ETHER on 2014-11-05)</option> <option value="/release/ETHER/URI-1.64/view/lib/URI.pm" >1.64 (ETHER on 2014-07-13)</option> <option value="/release/ETHER/URI-1.63/view/lib/URI.pm" >1.63 (ETHER on 2014-07-13)</option> <option value="/release/ETHER/URI-1.62/view/lib/URI.pm" >1.62 (ETHER on 2014-07-12)</option> <option value="/release/ETHER/URI-1.61/view/lib/URI.pm" >1.61 (ETHER on 2014-07-01)</option> <option value="/release/GAAS/URI-1.59/view/lib/URI.pm" >1.59 (GAAS on 2011-08-15)</option> <option value="/release/GAAS/URI-1.58/view/lib/URI.pm" >1.58 (GAAS on 2011-01-22)</option> <option value="/release/GAAS/URI-1.57/view/lib/URI.pm" >1.57 (GAAS on 2011-01-22)</option> <option value="/release/GAAS/URI-1.56/view/lib/URI.pm" >1.56 (GAAS on 2010-10-06)</option> <option value="/release/GAAS/URI-1.55/view/lib/URI.pm" >1.55 (GAAS on 2010-09-01)</option> <option value="/release/GAAS/URI-1.54/view/lib/URI.pm" >1.54 (GAAS on 2010-03-31)</option> <option value="/release/GAAS/URI-1.53/view/lib/URI.pm" >1.53 (GAAS on 2010-03-14)</option> <option value="/release/GAAS/URI-1.52/view/lib/URI.pm" >1.52 (GAAS on 2009-12-30)</option> <option value="/release/GAAS/URI-1.51/view/lib/URI.pm" >1.51 (GAAS on 2009-11-23)</option> <option value="/release/GAAS/URI-1.50/view/lib/URI.pm" >1.50 (GAAS on 2009-11-21)</option> <option value="/release/GAAS/URI-1.39/view/lib/URI.pm" >1.39 (GAAS on 2009-08-13)</option> <option value="/release/GAAS/URI-1.38/view/lib/URI.pm" >1.38 (GAAS on 2009-05-28)</option> <option value="/release/GAAS/URI-1.37/view/lib/URI.pm" >1.37 (GAAS on 2008-06-16)</option> <option value="/release/GAAS/URI-1.36/view/lib/URI.pm" >1.36 (GAAS on 2008-04-02)</option> <option value="/release/GAAS/URI-1.35/view/lib/URI.pm" >1.35 (GAAS on 2004-11-05)</option> <option value="/release/GAAS/URI-1.34/view/lib/URI.pm" >1.34 (GAAS on 2004-10-05)</option> <option value="/release/GAAS/URI-1.33/view/lib/URI.pm" >1.33 (GAAS on 2004-09-19)</option> <option value="/release/GAAS/URI-1.32/view/lib/URI.pm" >1.32 (GAAS on 2004-09-07)</option> <option value="/release/GAAS/URI-1.31/view/lib/URI.pm" >1.31 (GAAS on 2004-06-08)</option> <option value="/release/GAAS/URI-1.30/view/lib/URI.pm" >1.30 (GAAS on 2004-01-14)</option> <option value="/release/GAAS/URI-1.29/view/lib/URI.pm" >1.29 (GAAS on 2004-01-02)</option> <option value="/release/GAAS/URI-1.28/view/lib/URI.pm" >1.28 (GAAS on 2003-11-30)</option> <option value="/release/GAAS/URI-1.27/view/lib/URI.pm" >1.27 (GAAS on 2003-10-06)</option> <option value="/release/GAAS/URI-1.26/view/lib/URI.pm" >1.26 (GAAS on 2003-10-03)</option> <option value="/release/GAAS/URI-1.25/view/lib/URI.pm" >1.25 (GAAS on 2003-08-18)</option> <option value="/release/GAAS/URI-1.24/view/lib/URI.pm" >1.24 (GAAS on 2003-07-24)</option> <option value="/release/GAAS/URI-1.23/view/lib/URI.pm" >1.23 (GAAS on 2003-01-02)</option> <option value="/release/GAAS/URI-1.22/view/lib/URI.pm" >1.22 (GAAS on 2002-09-03)</option> <option value="/release/GAAS/URI-1.21/view/lib/URI.pm" >1.21 (GAAS on 2002-08-04)</option> <option value="/release/GAAS/URI-1.20/view/lib/URI.pm" >1.20 (GAAS on 2002-07-19)</option> <option value="/release/GAAS/URI-1.19/view/lib/URI.pm" >1.19 (GAAS on 2002-05-09)</option> <option value="/release/GAAS/URI-1.18/view/lib/URI.pm" >1.18 (GAAS on 2001-12-30)</option> <option value="/release/GAAS/URI-1.17/view/lib/URI.pm" >1.17 (GAAS on 2001-09-14)</option> <option value="/release/GAAS/URI-1.16/view/lib/URI.pm" >1.16 (GAAS on 2001-08-27)</option> <option value="/release/GAAS/URI-1.15/view/lib/URI.pm" >1.15 (GAAS on 2001-07-19)</option> <option value="/release/GAAS/URI-1.14/view/lib/URI.pm" >1.14 (GAAS on 2001-07-18)</option> <option value="/release/GAAS/URI-1.12/view/lib/URI.pm" >1.12 (GAAS on 2001-04-23)</option> <option value="/release/GAAS/URI-1.11/view/lib/URI.pm" >1.11 (GAAS on 2001-02-27)</option> <option value="/release/GAAS/URI-1.10/view/lib/URI.pm" >1.10 (GAAS on 2001-01-11)</option> <option value="/release/GAAS/URI-1.09/view/lib/URI.pm" >1.09 (GAAS on 2000-08-16)</option> <option value="/release/GAAS/URI-1.08/view/lib/URI.pm" >1.08 (GAAS on 2000-08-02)</option> <option value="/release/GAAS/URI-1.07/view/lib/URI.pm" >1.07 (GAAS on 2000-06-13)</option> <option value="/release/GAAS/URI-1.06/view/lib/URI.pm" >1.06 (GAAS on 2000-04-09)</option> <option value="/release/GAAS/URI-1.05/view/lib/URI.pm" >1.05 (GAAS on 2000-02-14)</option> <option value="/release/GAAS/URI-1.04/view/lib/URI.pm" >1.04 (GAAS on 1999-08-02)</option> <option value="/release/GAAS/URI-1.03/view/lib/URI.pm" >1.03 (GAAS on 1999-06-24)</option> <option value="/release/GAAS/URI-1.02/view/lib/URI.pm" >1.02 (GAAS on 1999-03-26)</option> <option value="/release/GAAS/URI-1.01/view/lib/URI.pm" >1.01 (GAAS on 1999-03-20)</option> <option value="/release/GAAS/URI-1.00/view/lib/URI.pm" >1.00 (GAAS on 1998-11-19)</option> <option value="/release/GAAS/URI-0.90_02/view/lib/URI.pm" >0.90_02 DEV (GAAS on 1998-10-12)</option> <option value="/release/GAAS/URI-0.90_01/view/lib/URI.pm" >0.90_01 DEV (GAAS on 1998-09-23)</option> <option value="/release/GAAS/URI-0.09_02/view/lib/URI.pm" >0.09_02 DEV (GAAS on 1998-09-22)</option> <option value="/release/GAAS/URI-0.09_01/view/lib/URI.pm" >0.09_01 DEV (GAAS on 1998-09-13)</option> <option value="/release/GAAS/URI-0.09/view/lib/URI.pm" >0.09 (GAAS on 1998-09-12)</option> <option value="/release/GAAS/URI-0.08/view/lib/URI.pm" >0.08 (GAAS on 1998-09-10)</option> <option value="/release/GAAS/URI-0.07/view/lib/URI.pm" >0.07 (GAAS on 1998-09-09)</option> <option value="/release/GAAS/URI-0.06/view/lib/URI.pm" >0.06 (GAAS on 1998-09-08)</option> <option value="/release/GAAS/URI-0.05/view/lib/URI.pm" >0.05 (GAAS on 1998-09-07)</option> <option value="/release/GAAS/URI-0.04/view/lib/URI.pm" >0.04 (GAAS on 1998-09-06)</option> <option value="/release/GAAS/URI-0.03/view/lib/URI.pm" >0.03 (GAAS on 1998-09-05)</option> <option value="/release/GAAS/URI-0.01/view/lib/URI.pm" >0.01 (GAAS on 1998-04-10)</option> </optgroup> </select> </li> <li class="version-diff"> <select class="select-navigator form-control tool-bar-form"> <option disabled selected>Diff with version</option> <option disabled value="/release/OALDERS/URI-5.31/diff/OALDERS/URI-5.31/lib/URI.pm" >5.31 (OALDERS on 2024-11-06)</option> <option value="/release/OALDERS/URI-5.31/diff/OALDERS/URI-5.29/lib/URI.pm" >5.29 (OALDERS on 2024-09-05)</option> <option value="/release/OALDERS/URI-5.31/diff/OALDERS/URI-5.28/lib/URI.pm" >5.28 (OALDERS on 2024-03-27)</option> <option value="/release/OALDERS/URI-5.31/diff/OALDERS/URI-5.27/lib/URI.pm" >5.27 (OALDERS on 2024-02-09)</option> <option value="/release/OALDERS/URI-5.31/diff/OALDERS/URI-5.26/lib/URI.pm" >5.26 (OALDERS on 2024-02-02)</option> <option value="/release/OALDERS/URI-5.31/diff/OALDERS/URI-5.25/lib/URI.pm" >5.25 (OALDERS on 2024-01-27)</option> <option value="/release/OALDERS/URI-5.31/diff/OALDERS/URI-5.24/lib/URI.pm" >5.24 (OALDERS on 2024-01-26)</option> <option value="/release/OALDERS/URI-5.31/diff/OALDERS/URI-5.23/lib/URI.pm" >5.23 (OALDERS on 2024-01-25)</option> <option value="/release/OALDERS/URI-5.31/diff/OALDERS/URI-5.22/lib/URI.pm" >5.22 (OALDERS on 2024-01-25)</option> <option value="/release/OALDERS/URI-5.31/diff/OALDERS/URI-5.21/lib/URI.pm" >5.21 (OALDERS on 2023-08-23)</option> <option value="/release/OALDERS/URI-5.31/diff/OALDERS/URI-5.20/lib/URI.pm" >5.20 (OALDERS on 2023-08-23)</option> <option value="/release/OALDERS/URI-5.31/diff/SIMBABQUE/URI-5.19/lib/URI.pm" >5.19 (SIMBABQUE on 2023-04-30)</option> <option value="/release/OALDERS/URI-5.31/diff/SIMBABQUE/URI-5.18/lib/URI.pm" >5.18 (SIMBABQUE on 2023-04-29)</option> <option value="/release/OALDERS/URI-5.31/diff/OALDERS/URI-5.17/lib/URI.pm" >5.17 (OALDERS on 2022-11-02)</option> <option value="/release/OALDERS/URI-5.31/diff/OALDERS/URI-5.16/lib/URI.pm" >5.16 (OALDERS on 2022-10-12)</option> <option value="/release/OALDERS/URI-5.31/diff/OALDERS/URI-5.15/lib/URI.pm" >5.15 (OALDERS on 2022-10-11)</option> <option value="/release/OALDERS/URI-5.31/diff/OALDERS/URI-5.14/lib/URI.pm" >5.14 (OALDERS on 2022-10-10)</option> <option value="/release/OALDERS/URI-5.31/diff/OALDERS/URI-5.13/lib/URI.pm" >5.13 (OALDERS on 2022-10-06)</option> <option value="/release/OALDERS/URI-5.31/diff/OALDERS/URI-5.12/lib/URI.pm" >5.12 (OALDERS on 2022-07-10)</option> <option value="/release/OALDERS/URI-5.31/diff/OALDERS/URI-5.10/lib/URI.pm" >5.10 (OALDERS on 2021-10-25)</option> <option value="/release/OALDERS/URI-5.31/diff/OALDERS/URI-5.09/lib/URI.pm" >5.09 (OALDERS on 2021-03-03)</option> <option value="/release/OALDERS/URI-5.31/diff/ETHER/URI-5.08/lib/URI.pm" >5.08 (ETHER on 2021-02-28)</option> <option value="/release/OALDERS/URI-5.31/diff/OALDERS/URI-5.07/lib/URI.pm" >5.07 (OALDERS on 2021-01-29)</option> <option value="/release/OALDERS/URI-5.31/diff/OALDERS/URI-5.06/lib/URI.pm" >5.06 (OALDERS on 2021-01-14)</option> <option value="/release/OALDERS/URI-5.31/diff/OALDERS/URI-5.05/lib/URI.pm" >5.05 (OALDERS on 2020-10-21)</option> <option value="/release/OALDERS/URI-5.31/diff/OALDERS/URI-1.76/lib/URI.pm" >1.76 (OALDERS on 2019-01-09)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.60/lib/URI.pm" >1.60 (GAAS on 2012-03-25)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.40/lib/URI.pm" >1.40 (GAAS on 2009-08-14)</option> <optgroup label="BackPAN">' <option value="/release/OALDERS/URI-5.31/diff/OALDERS/URI-5.30/lib/URI.pm" >5.30 (OALDERS on 2024-10-08)</option> <option value="/release/OALDERS/URI-5.31/diff/OALDERS/URI-5.11/lib/URI.pm" >5.11 (OALDERS on 2022-07-04)</option> <option value="/release/OALDERS/URI-5.31/diff/OALDERS/URI-1.75/lib/URI.pm" >1.75 (OALDERS on 2019-01-08)</option> <option value="/release/OALDERS/URI-5.31/diff/ETHER/URI-1.74/lib/URI.pm" >1.74 (ETHER on 2018-04-23)</option> <option value="/release/OALDERS/URI-5.31/diff/ETHER/URI-1.73/lib/URI.pm" >1.73 (ETHER on 2018-01-09)</option> <option value="/release/OALDERS/URI-5.31/diff/ETHER/URI-1.72/lib/URI.pm" >1.72 (ETHER on 2017-07-26)</option> <option value="/release/OALDERS/URI-5.31/diff/ETHER/URI-1.71/lib/URI.pm" >1.71 (ETHER on 2016-01-08)</option> <option value="/release/OALDERS/URI-5.31/diff/ETHER/URI-1.70_001/lib/URI.pm" >1.70_001 DEV (ETHER on 2015-12-29)</option> <option value="/release/OALDERS/URI-5.31/diff/ETHER/URI-1.69/lib/URI.pm" >1.69 (ETHER on 2015-07-25)</option> <option value="/release/OALDERS/URI-5.31/diff/ETHER/URI-1.68/lib/URI.pm" >1.68 (ETHER on 2015-06-26)</option> <option value="/release/OALDERS/URI-5.31/diff/OALDERS/URI-1.67_01/lib/URI.pm" >1.67_01 DEV (OALDERS on 2015-06-24)</option> <option value="/release/OALDERS/URI-5.31/diff/ETHER/URI-1.67/lib/URI.pm" >1.67 (ETHER on 2015-02-24)</option> <option value="/release/OALDERS/URI-5.31/diff/ETHER/URI-1.66/lib/URI.pm" >1.66 (ETHER on 2015-02-24)</option> <option value="/release/OALDERS/URI-5.31/diff/ETHER/URI-1.65/lib/URI.pm" >1.65 (ETHER on 2014-11-05)</option> <option value="/release/OALDERS/URI-5.31/diff/ETHER/URI-1.64/lib/URI.pm" >1.64 (ETHER on 2014-07-13)</option> <option value="/release/OALDERS/URI-5.31/diff/ETHER/URI-1.63/lib/URI.pm" >1.63 (ETHER on 2014-07-13)</option> <option value="/release/OALDERS/URI-5.31/diff/ETHER/URI-1.62/lib/URI.pm" >1.62 (ETHER on 2014-07-12)</option> <option value="/release/OALDERS/URI-5.31/diff/ETHER/URI-1.61/lib/URI.pm" >1.61 (ETHER on 2014-07-01)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.59/lib/URI.pm" >1.59 (GAAS on 2011-08-15)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.58/lib/URI.pm" >1.58 (GAAS on 2011-01-22)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.57/lib/URI.pm" >1.57 (GAAS on 2011-01-22)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.56/lib/URI.pm" >1.56 (GAAS on 2010-10-06)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.55/lib/URI.pm" >1.55 (GAAS on 2010-09-01)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.54/lib/URI.pm" >1.54 (GAAS on 2010-03-31)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.53/lib/URI.pm" >1.53 (GAAS on 2010-03-14)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.52/lib/URI.pm" >1.52 (GAAS on 2009-12-30)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.51/lib/URI.pm" >1.51 (GAAS on 2009-11-23)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.50/lib/URI.pm" >1.50 (GAAS on 2009-11-21)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.39/lib/URI.pm" >1.39 (GAAS on 2009-08-13)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.38/lib/URI.pm" >1.38 (GAAS on 2009-05-28)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.37/lib/URI.pm" >1.37 (GAAS on 2008-06-16)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.36/lib/URI.pm" >1.36 (GAAS on 2008-04-02)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.35/lib/URI.pm" >1.35 (GAAS on 2004-11-05)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.34/lib/URI.pm" >1.34 (GAAS on 2004-10-05)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.33/lib/URI.pm" >1.33 (GAAS on 2004-09-19)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.32/lib/URI.pm" >1.32 (GAAS on 2004-09-07)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.31/lib/URI.pm" >1.31 (GAAS on 2004-06-08)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.30/lib/URI.pm" >1.30 (GAAS on 2004-01-14)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.29/lib/URI.pm" >1.29 (GAAS on 2004-01-02)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.28/lib/URI.pm" >1.28 (GAAS on 2003-11-30)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.27/lib/URI.pm" >1.27 (GAAS on 2003-10-06)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.26/lib/URI.pm" >1.26 (GAAS on 2003-10-03)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.25/lib/URI.pm" >1.25 (GAAS on 2003-08-18)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.24/lib/URI.pm" >1.24 (GAAS on 2003-07-24)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.23/lib/URI.pm" >1.23 (GAAS on 2003-01-02)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.22/lib/URI.pm" >1.22 (GAAS on 2002-09-03)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.21/lib/URI.pm" >1.21 (GAAS on 2002-08-04)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.20/lib/URI.pm" >1.20 (GAAS on 2002-07-19)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.19/lib/URI.pm" >1.19 (GAAS on 2002-05-09)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.18/lib/URI.pm" >1.18 (GAAS on 2001-12-30)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.17/lib/URI.pm" >1.17 (GAAS on 2001-09-14)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.16/lib/URI.pm" >1.16 (GAAS on 2001-08-27)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.15/lib/URI.pm" >1.15 (GAAS on 2001-07-19)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.14/lib/URI.pm" >1.14 (GAAS on 2001-07-18)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.12/lib/URI.pm" >1.12 (GAAS on 2001-04-23)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.11/lib/URI.pm" >1.11 (GAAS on 2001-02-27)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.10/lib/URI.pm" >1.10 (GAAS on 2001-01-11)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.09/lib/URI.pm" >1.09 (GAAS on 2000-08-16)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.08/lib/URI.pm" >1.08 (GAAS on 2000-08-02)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.07/lib/URI.pm" >1.07 (GAAS on 2000-06-13)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.06/lib/URI.pm" >1.06 (GAAS on 2000-04-09)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.05/lib/URI.pm" >1.05 (GAAS on 2000-02-14)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.04/lib/URI.pm" >1.04 (GAAS on 1999-08-02)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.03/lib/URI.pm" >1.03 (GAAS on 1999-06-24)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.02/lib/URI.pm" >1.02 (GAAS on 1999-03-26)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.01/lib/URI.pm" >1.01 (GAAS on 1999-03-20)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-1.00/lib/URI.pm" >1.00 (GAAS on 1998-11-19)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-0.90_02/lib/URI.pm" >0.90_02 DEV (GAAS on 1998-10-12)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-0.90_01/lib/URI.pm" >0.90_01 DEV (GAAS on 1998-09-23)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-0.09_02/lib/URI.pm" >0.09_02 DEV (GAAS on 1998-09-22)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-0.09_01/lib/URI.pm" >0.09_01 DEV (GAAS on 1998-09-13)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-0.09/lib/URI.pm" >0.09 (GAAS on 1998-09-12)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-0.08/lib/URI.pm" >0.08 (GAAS on 1998-09-10)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-0.07/lib/URI.pm" >0.07 (GAAS on 1998-09-09)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-0.06/lib/URI.pm" >0.06 (GAAS on 1998-09-08)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-0.05/lib/URI.pm" >0.05 (GAAS on 1998-09-07)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-0.04/lib/URI.pm" >0.04 (GAAS on 1998-09-06)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-0.03/lib/URI.pm" >0.03 (GAAS on 1998-09-05)</option> <option value="/release/OALDERS/URI-5.31/diff/GAAS/URI-0.01/lib/URI.pm" >0.01 (GAAS on 1998-04-10)</option> </optgroup> </select> </li> <li> <ul class="dependencies"> <li class="nav-header">Dependencies</li> <li><a href="/pod/Carp" title="Carp" class="ellipsis">Carp</a></li> <li><a href="/pod/Cwd" title="Cwd" class="ellipsis">Cwd</a></li> <li><a href="/pod/Data::Dumper" title="Data::Dumper" class="ellipsis">Data::Dumper</a></li> <li><a href="/pod/Encode" title="Encode" class="ellipsis">Encode</a></li> <li><a href="/pod/Exporter" title="Exporter" class="ellipsis">Exporter</a></li> <li><a href="/pod/MIME::Base32" title="MIME::Base32" class="ellipsis">MIME::Base32</a></li> <li><a href="/pod/MIME::Base64" title="MIME::Base64" class="ellipsis">MIME::Base64</a></li> <li><a href="/pod/Net::Domain" title="Net::Domain" class="ellipsis">Net::Domain</a></li> <li><a href="/pod/Scalar::Util" title="Scalar::Util" class="ellipsis">Scalar::Util</a></li> <li><a href="/pod/constant" title="constant" class="ellipsis">constant</a></li> <li><a href="/pod/integer" title="integer" class="ellipsis">integer</a></li> <li><a href="/pod/overload" title="overload" class="ellipsis">overload</a></li> <li><a href="/pod/parent" title="parent" class="ellipsis">parent</a></li> <li><a href="/pod/strict" title="strict" class="ellipsis">strict</a></li> <li><a href="/pod/utf8" title="utf8" class="ellipsis">utf8</a></li> <li><a href="/pod/warnings" title="warnings" class="ellipsis">warnings</a></li> <li> <hr> </li> <li> <a href="/module/URI/requires">Reverse dependencies</a> </li> <li> <a href="http://deps.cpantesters.org/?module=URI">CPAN Testers List</a> </li> <li> <a href="https://cpandeps.grinnz.com/?dist=URI">Dependency graph</a> </li> </ul> </li> <li class="nav-header">Permalinks</li> <li> <a href="/release/OALDERS/URI-5.31/view/lib/URI.pm">This version</a> </li> <li> <a href="/pod/URI">Latest version</a> </li> <li> <div class="plussers"> <div class="nav-header">++ed by:</div> <div> <a class="display-all" href="/author/DOY"><img src="https://www.gravatar.com/avatar/88766de7a058697d3d0335b8d384fd2a?d=identicon&s=20" title="DOY" alt="DOY"></a> <a class="display-all" href="/author/YUUKI"><img src="https://www.gravatar.com/avatar/4c7dbdb398e26e0ef81e2c9b6b472742?d=identicon&s=20" title="YUUKI" alt="YUUKI"></a> <a class="display-all" href="/author/KEEDI"><img src="https://www.gravatar.com/avatar/95f905a7a4ccc573c711e9d264c0fde8?d=identicon&s=20" title="KEEDI" alt="KEEDI"></a> <a class="display-all" href="/author/DELON"><img src="https://www.gravatar.com/avatar/8a316157de5eaa39f351b1725c4641d0?d=identicon&s=20" title="DELON" alt="DELON"></a> <a class="display-all" href="/author/HAMMER"><img src="https://www.gravatar.com/avatar/b1e61c630d1c5e8e32e52c432ee7b689?d=identicon&s=20" title="HAMMER" alt="HAMMER"></a> </div> <!-- Display counts of plussers--> <div> <a href="/dist/URI/plussers">71 PAUSE users</a> </div> <div> 48 non-PAUSE users </div> </div> </li> <li> <div> <button class="contributors-show-button btn-link">and 44 contributors</button> <div id="metacpan_contributors" class="slide-out slide-out-hidden"> <div> <ul> <li class="contributor" data-contrib-email="adam@adamherzog.com" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Adam Herzog </li> <li class="contributor" data-cpan-author="KAPPA" data-contrib-email="kapranoff@gmail.com" > <a href="/author/KAPPA" class="cpan-author"> <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/880518a921f4021b117658eb422f80bc?d=identicon&s=20" /> Alex Kapranoff </a> </li> <li class="contributor" data-contrib-email="happy.barney@gmail.com" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Branislav Zahradník </li> <li class="contributor" data-contrib-email="Perl@ResonatorSoft.org" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Brendan Byrd </li> <li class="contributor" data-contrib-email="brian.d.foy@gmail.com" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> brian d foy </li> <li class="contributor" data-cpan-author="CAPOEIRAB" data-contrib-email="capoeirab@cpan.org" > <a href="/author/CAPOEIRAB" class="cpan-author"> <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/912bfa255ef8161a494932af0cad48c5?d=identicon&s=20" /> Chase Whitener </a> </li> <li class="contributor" data-cpan-author="DDICK" data-contrib-email="ddick@cpan.org" > <a href="/author/DDICK" class="cpan-author"> <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/f9a2543232b79d85aae04fa58811efe5?d=identicon&s=20" /> David Dick </a> </li> <li class="contributor" data-contrib-email="davewood@gmx.at" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> David Schmidt </li> <li class="contributor" data-contrib-email="49699333+dependabot[bot]@users.noreply.github.com" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> dependabot[bot] </li> <li class="contributor" data-contrib-email="dorian.taylor.lists@gmail.com" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Dorian Taylor </li> <li class="contributor" data-contrib-email="gerard@tty.nl" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> gerard </li> <li class="contributor" data-contrib-email="gianni.ceccarelli@broadbean.com" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Gianni Ceccarelli </li> <li class="contributor" data-contrib-email="gisle@activestate.com gisle@aas.no" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Gisle Aas </li> <li class="contributor" data-cpan-author="HAARG" data-contrib-email="haarg@haarg.org" > <a href="/author/HAARG" class="cpan-author"> <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/5037faf9ba40cf736778820fe83fc2ae?d=identicon&s=20" /> Graham Knop </a> </li> <li class="contributor" data-contrib-email="gregoa@debian.org" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> gregor herrmann </li> <li class="contributor" data-cpan-author="HAKONH" data-contrib-email="hakon.hagland@gmail.com" > <a href="/author/HAKONH" class="cpan-author"> <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/52ef20852e93826552ce3a6f4810edf1?d=identicon&s=20" /> Håkon Hægland </a> </li> <li class="contributor" data-contrib-email="jack@deguest.jp" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Jacques Deguest </li> <li class="contributor" data-cpan-author="RAZ" data-contrib-email="jraspass@gmail.com" > <a href="/author/RAZ" class="cpan-author"> <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/b9af2a54454e8f38c169be0c236670d6?d=identicon&s=20" /> James Raspass </a> </li> <li class="contributor" data-contrib-email="jand@activestate.com" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Jan Dubois </li> <li class="contributor" data-contrib-email="joenio@colivre.coop.br" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Joenio Costa </li> <li class="contributor" data-contrib-email="brainbuz@brainbuz.org" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> John Karr </li> <li class="contributor" data-contrib-email="john@rimmkaufman.com" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> John Miller </li> <li class="contributor" data-cpan-author="SIMBABQUE" data-contrib-email="simbabque@cpan.org" > <a href="/author/SIMBABQUE" class="cpan-author"> <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/bcf66f65dcd36296129acbd96bfb0cb9?d=identicon&s=20" /> Julien Fiegehenn </a> </li> <li class="contributor" data-contrib-email="symkat@symkat.com" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Kaitlyn Parkhurst </li> <li class="contributor" data-cpan-author="ETHER" data-contrib-email="ether@cpan.org" > <a href="/author/ETHER" class="cpan-author"> <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/bdc5cd06679e732e262f6c1b450a0237?d=identicon&s=20" /> Karen Etheridge </a> </li> <li class="contributor" data-cpan-author="ISHIGAKI" data-contrib-email="ishigaki@cpan.org" > <a href="/author/ISHIGAKI" class="cpan-author"> <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/a1035a2db5b72227a14e84d65117b75b?d=identicon&s=20" /> Kenichi Ishigaki </a> </li> <li class="contributor" data-contrib-email="kentfredric@gmail.com" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Kent Fredric </li> <li class="contributor" data-contrib-email="mark@stosberg.com" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Mark Stosberg </li> <li class="contributor" data-cpan-author="HIRATARA" data-contrib-email="hiratara@cpan.org" > <a href="/author/HIRATARA" class="cpan-author"> <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/e1c3df1bb4cb55926cbf2dd9e9f3b9b8?d=identicon&s=20" /> Masahiro Honma </a> </li> <li class="contributor" data-contrib-email="matthewlawrence@venda.com" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Matt Lawrence </li> <li class="contributor" data-cpan-author="MSCHAE" data-contrib-email="mschae@cpan.org" > <a href="/author/MSCHAE" class="cpan-author"> <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/83dd3b56f70d0c545dd5c8e8f5a2c45c?d=identicon&s=20" /> Matthew Chae </a> </li> <li class="contributor" data-contrib-email="schwern@pobox.com" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Michael G. Schwern </li> <li class="contributor" data-contrib-email="olaf@wundersolutions.com" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Olaf Alders </li> <li class="contributor" data-cpan-author="PERLBOTIX" data-contrib-email="perlbotix@cpan.org" > <a href="/author/PERLBOTIX" class="cpan-author"> <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/e999b41c5d6f0c96612fd89b97feeb12?d=identicon&s=20" /> Perlbotics </a> </li> <li class="contributor" data-cpan-author="RIBASUSHI" data-contrib-email="ribasushi@cpan.org" > <a href="/author/RIBASUSHI" class="cpan-author"> <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/6a096fdb29481fa7326735fada56c5cf?d=identicon&s=20" /> Peter Rabbitson </a> </li> <li class="contributor" data-cpan-author="DEXTER" data-contrib-email="piotr.roszatycki@gmail.com" > <a href="/author/DEXTER" class="cpan-author"> <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/c25e440701c836655e68df74d87e7052?d=identicon&s=20" /> Piotr Roszatycki </a> </li> <li class="contributor" data-contrib-email="ryker@ryker.org" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Ryan Kereliuk </li> <li class="contributor" data-contrib-email="carnil@launchpad.net" > <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&s=20" /> Salvatore Bonaccorso </li> <li class="contributor" data-cpan-author="SEWI" data-contrib-email="sewi@cpan.org" > <a href="/author/SEWI" class="cpan-author"> <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d9cc76df188eca49c05eeeaad3c4557c?d=identicon&s=20" /> Sebastian Willing </a> </li> <li class="contributor" data-cpan-author="SKAJI" data-contrib-email="skaji@cpan.org" > <a href="/author/SKAJI" class="cpan-author"> <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/e4967f90a08dadff9cc185b863cd99a7?d=identicon&s=20" /> Shoichi Kaji </a> </li> <li class="contributor" data-cpan-author="SREZIC" data-contrib-email="slaven@rezic.de" > <a href="/author/SREZIC" class="cpan-author"> <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/5fa5a4e5ffdf883a1fcb1840c915d485?d=identicon&s=20" /> Slaven Rezic </a> </li> <li class="contributor" data-cpan-author="MIYAGAWA" data-contrib-email="miyagawa@bulknews.net" > <a href="/author/MIYAGAWA" class="cpan-author"> <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/2edd59ce5f91bec4b962bfce0a805211?d=identicon&s=20" /> Tatsuhiko Miyagawa </a> </li> <li class="contributor" data-cpan-author="OPI" data-contrib-email="torsten.foertsch@gmx.net" > <a href="/author/OPI" class="cpan-author"> <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/a8bc800e09708d2653b98cf4b9d2c585?d=identicon&s=20" /> Torsten Förtsch </a> </li> <li class="contributor" data-cpan-author="SCOP" data-contrib-email="ville.skytta@iki.fi" > <a href="/author/SCOP" class="cpan-author"> <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/4623589f12ed201b060c2075fd9c0920?d=identicon&s=20" /> Ville Skyttä </a> </li> </ul> </div> </div> </div> </li> </ul> </div> </nav> <div class="content-navigation"> <div class="breadcrumbs"> <span> <a data-keyboard-shortcut="g a" rel="author" href="/author/OALDERS" class="author-name">Olaf Alders</a> </span> <span> / </span> <div class="release dist-release status-latest maturity-released"> <span class="dropdown"><b class="caret"></b></span> <select class="select-navigator "> <option selected value="/release/OALDERS/URI-5.31/view/lib/URI.pm" >5.31 (OALDERS on 2024-11-06)</option> <option value="/release/OALDERS/URI-5.29/view/lib/URI.pm" >5.29 (OALDERS on 2024-09-05)</option> <option value="/release/OALDERS/URI-5.28/view/lib/URI.pm" >5.28 (OALDERS on 2024-03-27)</option> <option value="/release/OALDERS/URI-5.27/view/lib/URI.pm" >5.27 (OALDERS on 2024-02-09)</option> <option value="/release/OALDERS/URI-5.26/view/lib/URI.pm" >5.26 (OALDERS on 2024-02-02)</option> <option value="/release/OALDERS/URI-5.25/view/lib/URI.pm" >5.25 (OALDERS on 2024-01-27)</option> <option value="/release/OALDERS/URI-5.24/view/lib/URI.pm" >5.24 (OALDERS on 2024-01-26)</option> <option value="/release/OALDERS/URI-5.23/view/lib/URI.pm" >5.23 (OALDERS on 2024-01-25)</option> <option value="/release/OALDERS/URI-5.22/view/lib/URI.pm" >5.22 (OALDERS on 2024-01-25)</option> <option value="/release/OALDERS/URI-5.21/view/lib/URI.pm" >5.21 (OALDERS on 2023-08-23)</option> <option value="/release/OALDERS/URI-5.20/view/lib/URI.pm" >5.20 (OALDERS on 2023-08-23)</option> <option value="/release/SIMBABQUE/URI-5.19/view/lib/URI.pm" >5.19 (SIMBABQUE on 2023-04-30)</option> <option value="/release/SIMBABQUE/URI-5.18/view/lib/URI.pm" >5.18 (SIMBABQUE on 2023-04-29)</option> <option value="/release/OALDERS/URI-5.17/view/lib/URI.pm" >5.17 (OALDERS on 2022-11-02)</option> <option value="/release/OALDERS/URI-5.16/view/lib/URI.pm" >5.16 (OALDERS on 2022-10-12)</option> <option value="/release/OALDERS/URI-5.15/view/lib/URI.pm" >5.15 (OALDERS on 2022-10-11)</option> <option value="/release/OALDERS/URI-5.14/view/lib/URI.pm" >5.14 (OALDERS on 2022-10-10)</option> <option value="/release/OALDERS/URI-5.13/view/lib/URI.pm" >5.13 (OALDERS on 2022-10-06)</option> <option value="/release/OALDERS/URI-5.12/view/lib/URI.pm" >5.12 (OALDERS on 2022-07-10)</option> <option value="/release/OALDERS/URI-5.10/view/lib/URI.pm" >5.10 (OALDERS on 2021-10-25)</option> <option value="/release/OALDERS/URI-5.09/view/lib/URI.pm" >5.09 (OALDERS on 2021-03-03)</option> <option value="/release/ETHER/URI-5.08/view/lib/URI.pm" >5.08 (ETHER on 2021-02-28)</option> <option value="/release/OALDERS/URI-5.07/view/lib/URI.pm" >5.07 (OALDERS on 2021-01-29)</option> <option value="/release/OALDERS/URI-5.06/view/lib/URI.pm" >5.06 (OALDERS on 2021-01-14)</option> <option value="/release/OALDERS/URI-5.05/view/lib/URI.pm" >5.05 (OALDERS on 2020-10-21)</option> <option value="/release/OALDERS/URI-1.76/view/lib/URI.pm" >1.76 (OALDERS on 2019-01-09)</option> <option value="/release/GAAS/URI-1.60/view/lib/URI.pm" >1.60 (GAAS on 2012-03-25)</option> <option value="/release/GAAS/URI-1.40/view/lib/URI.pm" >1.40 (GAAS on 2009-08-14)</option> <optgroup label="BackPAN">' <option value="/release/OALDERS/URI-5.30/view/lib/URI.pm" >5.30 (OALDERS on 2024-10-08)</option> <option value="/release/OALDERS/URI-5.11/view/lib/URI.pm" >5.11 (OALDERS on 2022-07-04)</option> <option value="/release/OALDERS/URI-1.75/view/lib/URI.pm" >1.75 (OALDERS on 2019-01-08)</option> <option value="/release/ETHER/URI-1.74/view/lib/URI.pm" >1.74 (ETHER on 2018-04-23)</option> <option value="/release/ETHER/URI-1.73/view/lib/URI.pm" >1.73 (ETHER on 2018-01-09)</option> <option value="/release/ETHER/URI-1.72/view/lib/URI.pm" >1.72 (ETHER on 2017-07-26)</option> <option value="/release/ETHER/URI-1.71/view/lib/URI.pm" >1.71 (ETHER on 2016-01-08)</option> <option value="/release/ETHER/URI-1.70_001/view/lib/URI.pm" >1.70_001 DEV (ETHER on 2015-12-29)</option> <option value="/release/ETHER/URI-1.69/view/lib/URI.pm" >1.69 (ETHER on 2015-07-25)</option> <option value="/release/ETHER/URI-1.68/view/lib/URI.pm" >1.68 (ETHER on 2015-06-26)</option> <option value="/release/OALDERS/URI-1.67_01/view/lib/URI.pm" >1.67_01 DEV (OALDERS on 2015-06-24)</option> <option value="/release/ETHER/URI-1.67/view/lib/URI.pm" >1.67 (ETHER on 2015-02-24)</option> <option value="/release/ETHER/URI-1.66/view/lib/URI.pm" >1.66 (ETHER on 2015-02-24)</option> <option value="/release/ETHER/URI-1.65/view/lib/URI.pm" >1.65 (ETHER on 2014-11-05)</option> <option value="/release/ETHER/URI-1.64/view/lib/URI.pm" >1.64 (ETHER on 2014-07-13)</option> <option value="/release/ETHER/URI-1.63/view/lib/URI.pm" >1.63 (ETHER on 2014-07-13)</option> <option value="/release/ETHER/URI-1.62/view/lib/URI.pm" >1.62 (ETHER on 2014-07-12)</option> <option value="/release/ETHER/URI-1.61/view/lib/URI.pm" >1.61 (ETHER on 2014-07-01)</option> <option value="/release/GAAS/URI-1.59/view/lib/URI.pm" >1.59 (GAAS on 2011-08-15)</option> <option value="/release/GAAS/URI-1.58/view/lib/URI.pm" >1.58 (GAAS on 2011-01-22)</option> <option value="/release/GAAS/URI-1.57/view/lib/URI.pm" >1.57 (GAAS on 2011-01-22)</option> <option value="/release/GAAS/URI-1.56/view/lib/URI.pm" >1.56 (GAAS on 2010-10-06)</option> <option value="/release/GAAS/URI-1.55/view/lib/URI.pm" >1.55 (GAAS on 2010-09-01)</option> <option value="/release/GAAS/URI-1.54/view/lib/URI.pm" >1.54 (GAAS on 2010-03-31)</option> <option value="/release/GAAS/URI-1.53/view/lib/URI.pm" >1.53 (GAAS on 2010-03-14)</option> <option value="/release/GAAS/URI-1.52/view/lib/URI.pm" >1.52 (GAAS on 2009-12-30)</option> <option value="/release/GAAS/URI-1.51/view/lib/URI.pm" >1.51 (GAAS on 2009-11-23)</option> <option value="/release/GAAS/URI-1.50/view/lib/URI.pm" >1.50 (GAAS on 2009-11-21)</option> <option value="/release/GAAS/URI-1.39/view/lib/URI.pm" >1.39 (GAAS on 2009-08-13)</option> <option value="/release/GAAS/URI-1.38/view/lib/URI.pm" >1.38 (GAAS on 2009-05-28)</option> <option value="/release/GAAS/URI-1.37/view/lib/URI.pm" >1.37 (GAAS on 2008-06-16)</option> <option value="/release/GAAS/URI-1.36/view/lib/URI.pm" >1.36 (GAAS on 2008-04-02)</option> <option value="/release/GAAS/URI-1.35/view/lib/URI.pm" >1.35 (GAAS on 2004-11-05)</option> <option value="/release/GAAS/URI-1.34/view/lib/URI.pm" >1.34 (GAAS on 2004-10-05)</option> <option value="/release/GAAS/URI-1.33/view/lib/URI.pm" >1.33 (GAAS on 2004-09-19)</option> <option value="/release/GAAS/URI-1.32/view/lib/URI.pm" >1.32 (GAAS on 2004-09-07)</option> <option value="/release/GAAS/URI-1.31/view/lib/URI.pm" >1.31 (GAAS on 2004-06-08)</option> <option value="/release/GAAS/URI-1.30/view/lib/URI.pm" >1.30 (GAAS on 2004-01-14)</option> <option value="/release/GAAS/URI-1.29/view/lib/URI.pm" >1.29 (GAAS on 2004-01-02)</option> <option value="/release/GAAS/URI-1.28/view/lib/URI.pm" >1.28 (GAAS on 2003-11-30)</option> <option value="/release/GAAS/URI-1.27/view/lib/URI.pm" >1.27 (GAAS on 2003-10-06)</option> <option value="/release/GAAS/URI-1.26/view/lib/URI.pm" >1.26 (GAAS on 2003-10-03)</option> <option value="/release/GAAS/URI-1.25/view/lib/URI.pm" >1.25 (GAAS on 2003-08-18)</option> <option value="/release/GAAS/URI-1.24/view/lib/URI.pm" >1.24 (GAAS on 2003-07-24)</option> <option value="/release/GAAS/URI-1.23/view/lib/URI.pm" >1.23 (GAAS on 2003-01-02)</option> <option value="/release/GAAS/URI-1.22/view/lib/URI.pm" >1.22 (GAAS on 2002-09-03)</option> <option value="/release/GAAS/URI-1.21/view/lib/URI.pm" >1.21 (GAAS on 2002-08-04)</option> <option value="/release/GAAS/URI-1.20/view/lib/URI.pm" >1.20 (GAAS on 2002-07-19)</option> <option value="/release/GAAS/URI-1.19/view/lib/URI.pm" >1.19 (GAAS on 2002-05-09)</option> <option value="/release/GAAS/URI-1.18/view/lib/URI.pm" >1.18 (GAAS on 2001-12-30)</option> <option value="/release/GAAS/URI-1.17/view/lib/URI.pm" >1.17 (GAAS on 2001-09-14)</option> <option value="/release/GAAS/URI-1.16/view/lib/URI.pm" >1.16 (GAAS on 2001-08-27)</option> <option value="/release/GAAS/URI-1.15/view/lib/URI.pm" >1.15 (GAAS on 2001-07-19)</option> <option value="/release/GAAS/URI-1.14/view/lib/URI.pm" >1.14 (GAAS on 2001-07-18)</option> <option value="/release/GAAS/URI-1.12/view/lib/URI.pm" >1.12 (GAAS on 2001-04-23)</option> <option value="/release/GAAS/URI-1.11/view/lib/URI.pm" >1.11 (GAAS on 2001-02-27)</option> <option value="/release/GAAS/URI-1.10/view/lib/URI.pm" >1.10 (GAAS on 2001-01-11)</option> <option value="/release/GAAS/URI-1.09/view/lib/URI.pm" >1.09 (GAAS on 2000-08-16)</option> <option value="/release/GAAS/URI-1.08/view/lib/URI.pm" >1.08 (GAAS on 2000-08-02)</option> <option value="/release/GAAS/URI-1.07/view/lib/URI.pm" >1.07 (GAAS on 2000-06-13)</option> <option value="/release/GAAS/URI-1.06/view/lib/URI.pm" >1.06 (GAAS on 2000-04-09)</option> <option value="/release/GAAS/URI-1.05/view/lib/URI.pm" >1.05 (GAAS on 2000-02-14)</option> <option value="/release/GAAS/URI-1.04/view/lib/URI.pm" >1.04 (GAAS on 1999-08-02)</option> <option value="/release/GAAS/URI-1.03/view/lib/URI.pm" >1.03 (GAAS on 1999-06-24)</option> <option value="/release/GAAS/URI-1.02/view/lib/URI.pm" >1.02 (GAAS on 1999-03-26)</option> <option value="/release/GAAS/URI-1.01/view/lib/URI.pm" >1.01 (GAAS on 1999-03-20)</option> <option value="/release/GAAS/URI-1.00/view/lib/URI.pm" >1.00 (GAAS on 1998-11-19)</option> <option value="/release/GAAS/URI-0.90_02/view/lib/URI.pm" >0.90_02 DEV (GAAS on 1998-10-12)</option> <option value="/release/GAAS/URI-0.90_01/view/lib/URI.pm" >0.90_01 DEV (GAAS on 1998-09-23)</option> <option value="/release/GAAS/URI-0.09_02/view/lib/URI.pm" >0.09_02 DEV (GAAS on 1998-09-22)</option> <option value="/release/GAAS/URI-0.09_01/view/lib/URI.pm" >0.09_01 DEV (GAAS on 1998-09-13)</option> <option value="/release/GAAS/URI-0.09/view/lib/URI.pm" >0.09 (GAAS on 1998-09-12)</option> <option value="/release/GAAS/URI-0.08/view/lib/URI.pm" >0.08 (GAAS on 1998-09-10)</option> <option value="/release/GAAS/URI-0.07/view/lib/URI.pm" >0.07 (GAAS on 1998-09-09)</option> <option value="/release/GAAS/URI-0.06/view/lib/URI.pm" >0.06 (GAAS on 1998-09-08)</option> <option value="/release/GAAS/URI-0.05/view/lib/URI.pm" >0.05 (GAAS on 1998-09-07)</option> <option value="/release/GAAS/URI-0.04/view/lib/URI.pm" >0.04 (GAAS on 1998-09-06)</option> <option value="/release/GAAS/URI-0.03/view/lib/URI.pm" >0.03 (GAAS on 1998-09-05)</option> <option value="/release/GAAS/URI-0.01/view/lib/URI.pm" >0.01 (GAAS on 1998-04-10)</option> </optgroup> </select> <a data-keyboard-shortcut="g d" class="release-name" href="/dist/URI">URI-5.31</a> </div> <span class="river-gauge-gauge"> <svg width="24px" height="15px" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <g> <title> River stage five • 1936 direct dependents • 10340 total dependents </title> <rect x="0" y="0" width="4" height="15" fill="#7ea3f2" /> <rect x="5" y="0" width="4" height="15" fill="#7ea3f2" /> <rect x="10" y="0" width="4" height="15" fill="#7ea3f2" /> <rect x="15" y="0" width="4" height="15" fill="#7ea3f2" /> <rect x="20" y="0" width="4" height="15" fill="#7ea3f2" /> </g> </svg> </span> <div id="URI-fav" class="show-logged-in"> <form action="/account/favorite/add" style="display: inline" method="POST"> <input type="hidden" name="remove" value="0"> <input type="hidden" name="release" value="URI-5.31"> <input type="hidden" name="author" value="OALDERS"> <input type="hidden" name="distribution" value="URI"> <button type="submit" class="favorite highlight"><span>119</span> ++</button> </form> </div> <div class="show-logged-out"> <button class="fav-not-logged-in favorite highlight"><span>119</span> ++</button> </div> / <span>URI</span> </div> </div> <main class="content"> <nav class="toc"> <div class="toc-header"><strong>Contents</strong></div> <ul> <li><a href="#NAME">NAME</a></li> <li><a href="#SYNOPSIS">SYNOPSIS</a></li> <li><a href="#DESCRIPTION">DESCRIPTION</a></li> <li><a href="#CONSTRUCTORS">CONSTRUCTORS</a></li> <li><a href="#COMMON-METHODS">COMMON METHODS</a></li> <li><a href="#GENERIC-METHODS">GENERIC METHODS</a></li> <li><a href="#SERVER-METHODS">SERVER METHODS</a></li> <li><a href="#SCHEME-SPECIFIC-SUPPORT">SCHEME-SPECIFIC SUPPORT</a></li> <li><a href="#CONFIGURATION-VARIABLES">CONFIGURATION VARIABLES</a></li> <li><a href="#ENVIRONMENT-VARIABLES">ENVIRONMENT VARIABLES</a></li> <li><a href="#BUGS">BUGS</a></li> <li><a href="#PARSING-URIs-WITH-REGEXP">PARSING URIs WITH REGEXP</a></li> <li><a href="#SEE-ALSO">SEE ALSO</a></li> <li><a href="#COPYRIGHT">COPYRIGHT</a></li> <li><a href="#AUTHORS-%2F-ACKNOWLEDGMENTS">AUTHORS / ACKNOWLEDGMENTS</a></li> </ul></nav> <div class="pod anchors"> <h1 id="NAME">NAME</h1> <p>URI - Uniform Resource Identifiers (absolute and relative)</p> <h1 id="SYNOPSIS">SYNOPSIS</h1> <pre><code>use URI (); $u1 = URI->new("http://www.example.com"); $u2 = URI->new("foo", "http"); $u3 = $u2->abs($u1); $u4 = $u3->clone; $u5 = URI->new("HTTP://WWW.example.com:80")->canonical; $str = $u->as_string; $str = "$u"; $scheme = $u->scheme; $opaque = $u->opaque; $path = $u->path; $frag = $u->fragment; $u->scheme("ftp"); $u->host("ftp.example.com"); $u->path("cpan/");</code></pre> <h1 id="DESCRIPTION">DESCRIPTION</h1> <p>This module implements the <code>URI</code> class. Objects of this class represent "Uniform Resource Identifier references" as specified in RFC 2396 (and updated by RFC 2732).</p> <p>A Uniform Resource Identifier is a compact string of characters that identifies an abstract or physical resource. A Uniform Resource Identifier can be further classified as either a Uniform Resource Locator (URL) or a Uniform Resource Name (URN). The distinction between URL and URN does not matter to the <code>URI</code> class interface. A "URI-reference" is a URI that may have additional information attached in the form of a fragment identifier.</p> <p>An absolute URI reference consists of three parts: a <i>scheme</i>, a <i>scheme-specific part</i> and a <i>fragment</i> identifier. A subset of URI references share a common syntax for hierarchical namespaces. For these, the scheme-specific part is further broken down into <i>authority</i>, <i>path</i> and <i>query</i> components. These URIs can also take the form of relative URI references, where the scheme (and usually also the authority) component is missing, but implied by the context of the URI reference. The three forms of URI reference syntax are summarized as follows:</p> <pre><code><scheme>:<scheme-specific-part>#<fragment> <scheme>://<authority><path>?<query>#<fragment> <path>?<query>#<fragment></code></pre> <p>The components into which a URI reference can be divided depend on the <i>scheme</i>. The <code>URI</code> class provides methods to get and set the individual components. The methods available for a specific <code>URI</code> object depend on the scheme.</p> <h1 id="CONSTRUCTORS">CONSTRUCTORS</h1> <p>The following methods construct new <code>URI</code> objects:</p> <dl> <dt id="$uri-=-URI->new(-$str-)"><a id="uri-URI-new-str"></a>$uri = URI->new( $str )</dt> <dd> </dd> <dt id="$uri-=-URI->new(-$str,-$scheme-)"><a id="uri-URI-new-str-scheme"></a>$uri = URI->new( $str, $scheme )</dt> <dd> <p>Constructs a new URI object. The string representation of a URI is given as argument, together with an optional scheme specification. Common URI wrappers like "" and <>, as well as leading and trailing white space, are automatically removed from the $str argument before it is processed further.</p> <p>The constructor determines the scheme, maps this to an appropriate URI subclass, constructs a new object of that class and returns it.</p> <p>If the scheme isn't one of those that URI recognizes, you still get an URI object back that you can access the generic methods on. The <code>$uri->has_recognized_scheme</code> method can be used to test for this.</p> <p>The $scheme argument is only used when $str is a relative URI. It can be either a simple string that denotes the scheme, a string containing an absolute URI reference, or an absolute <code>URI</code> object. If no $scheme is specified for a relative URI $str, then $str is simply treated as a generic URI (no scheme-specific methods available).</p> <p>The set of characters available for building URI references is restricted (see <a href="/pod/URI::Escape">URI::Escape</a>). Characters outside this set are automatically escaped by the URI constructor.</p> </dd> <dt id="$uri-=-URI->new_abs(-$str,-$base_uri-)"><a id="uri-URI-new_abs-str-base_uri"></a>$uri = URI->new_abs( $str, $base_uri )</dt> <dd> <p>Constructs a new absolute URI object. The $str argument can denote a relative or absolute URI. If relative, then it is absolutized using $base_uri as base. The $base_uri must be an absolute URI.</p> </dd> <dt id="$uri-=-URI::file->new(-$filename-)"><a id="uri-URI::file-new-filename"></a>$uri = URI::file->new( $filename )</dt> <dd> </dd> <dt id="$uri-=-URI::file->new(-$filename,-$os-)"><a id="uri-URI::file-new-filename-os"></a>$uri = URI::file->new( $filename, $os )</dt> <dd> <p>Constructs a new <i>file</i> URI from a file name. See <a href="/pod/URI::file">URI::file</a>.</p> </dd> <dt id="$uri-=-URI::file->new_abs(-$filename-)"><a id="uri-URI::file-new_abs-filename"></a>$uri = URI::file->new_abs( $filename )</dt> <dd> </dd> <dt id="$uri-=-URI::file->new_abs(-$filename,-$os-)"><a id="uri-URI::file-new_abs-filename-os"></a>$uri = URI::file->new_abs( $filename, $os )</dt> <dd> <p>Constructs a new absolute <i>file</i> URI from a file name. See <a href="/pod/URI::file">URI::file</a>.</p> </dd> <dt id="$uri-=-URI::file->cwd"><a id="uri-URI::file-cwd"></a>$uri = URI::file->cwd</dt> <dd> <p>Returns the current working directory as a <i>file</i> URI. See <a href="/pod/URI::file">URI::file</a>.</p> </dd> <dt id="$uri->clone"><a id="clone"></a><a id="uri-clone"></a>$uri->clone</dt> <dd> <p>Returns a copy of the $uri.</p> </dd> </dl> <h1 id="COMMON-METHODS"><a id="COMMON"></a>COMMON METHODS</h1> <p>The methods described in this section are available for all <code>URI</code> objects.</p> <p>Methods that give access to components of a URI always return the old value of the component. The value returned is <code>undef</code> if the component was not present. There is generally a difference between a component that is empty (represented as <code>""</code>) and a component that is missing (represented as <code>undef</code>). If an accessor method is given an argument, it updates the corresponding component in addition to returning the old value of the component. Passing an undefined argument removes the component (if possible). The description of each accessor method indicates whether the component is passed as an escaped (percent-encoded) or an unescaped string. A component that can be further divided into sub-parts are usually passed escaped, as unescaping might change its semantics.</p> <p>The common methods available for all URI are:</p> <dl> <dt id="$uri->scheme"><a id="scheme"></a><a id="uri-scheme"></a>$uri->scheme</dt> <dd> </dd> <dt id="$uri->scheme(-$new_scheme-)"><a id="scheme1"></a><a id="uri-scheme-new_scheme"></a>$uri->scheme( $new_scheme )</dt> <dd> <p>Sets and returns the scheme part of the $uri. If the $uri is relative, then $uri->scheme returns <code>undef</code>. If called with an argument, it updates the scheme of $uri, possibly changing the class of $uri, and returns the old scheme value. The method croaks if the new scheme name is illegal; a scheme name must begin with a letter and must consist of only US-ASCII letters, numbers, and a few special marks: ".", "+", "-". This restriction effectively means that the scheme must be passed unescaped. Passing an undefined argument to the scheme method makes the URI relative (if possible).</p> <p>Letter case does not matter for scheme names. The string returned by $uri->scheme is always lowercase. If you want the scheme just as it was written in the URI in its original case, you can use the $uri->_scheme method instead.</p> </dd> <dt id="$uri->has_recognized_scheme"><a id="has_recognized_scheme"></a><a id="uri-has_recognized_scheme"></a>$uri->has_recognized_scheme</dt> <dd> <p>Returns TRUE if the URI scheme is one that URI recognizes.</p> <p>It will also be TRUE for relative URLs where a recognized scheme was provided to the constructor, even if <code>$uri->scheme</code> returns <code>undef</code> for these.</p> </dd> <dt id="$uri->opaque"><a id="opaque"></a><a id="uri-opaque"></a>$uri->opaque</dt> <dd> </dd> <dt id="$uri->opaque(-$new_opaque-)"><a id="opaque1"></a><a id="uri-opaque-new_opaque"></a>$uri->opaque( $new_opaque )</dt> <dd> <p>Sets and returns the scheme-specific part of the $uri (everything between the scheme and the fragment) as an escaped string.</p> </dd> <dt id="$uri->path"><a id="path"></a><a id="uri-path"></a>$uri->path</dt> <dd> </dd> <dt id="$uri->path(-$new_path-)"><a id="path1"></a><a id="uri-path-new_path"></a>$uri->path( $new_path )</dt> <dd> <p>Sets and returns the same value as $uri->opaque unless the URI supports the generic syntax for hierarchical namespaces. In that case the generic method is overridden to set and return the part of the URI between the <i>host name</i> and the <i>fragment</i>.</p> </dd> <dt id="$uri->fragment"><a id="fragment"></a><a id="uri-fragment"></a>$uri->fragment</dt> <dd> </dd> <dt id="$uri->fragment(-$new_frag-)"><a id="fragment1"></a><a id="uri-fragment-new_frag"></a>$uri->fragment( $new_frag )</dt> <dd> <p>Returns the fragment identifier of a URI reference as an escaped string.</p> </dd> <dt id="$uri->as_string"><a id="as_string"></a><a id="uri-as_string"></a>$uri->as_string</dt> <dd> <p>Returns a URI object to a plain ASCII string. URI objects are also converted to plain strings automatically by overloading. This means that $uri objects can be used as plain strings in most Perl constructs.</p> </dd> <dt id="$uri->as_iri"><a id="as_iri"></a><a id="uri-as_iri"></a>$uri->as_iri</dt> <dd> <p>Returns a Unicode string representing the URI. Escaped UTF-8 sequences representing non-ASCII characters are turned into their corresponding Unicode code point.</p> </dd> <dt id="$uri->canonical"><a id="canonical"></a><a id="uri-canonical"></a>$uri->canonical</dt> <dd> <p>Returns a normalized version of the URI. The rules for normalization are scheme-dependent. They usually involve lowercasing the scheme and Internet host name components, removing the explicit port specification if it matches the default port, uppercasing all escape sequences, and unescaping octets that can be better represented as plain characters.</p> <p>For efficiency reasons, if the $uri is already in normalized form, then a reference to it is returned instead of a copy.</p> </dd> <dt id="$uri->eq(-$other_uri-)"><a id="eq"></a><a id="uri-eq-other_uri"></a>$uri->eq( $other_uri )</dt> <dd> </dd> <dt id="URI::eq(-$first_uri,-$other_uri-)"><a id="URI"></a><a id="URI::eq-first_uri-other_uri"></a>URI::eq( $first_uri, $other_uri )</dt> <dd> <p>Tests whether two URI references are equal. URI references that normalize to the same string are considered equal. The method can also be used as a plain function which can also test two string arguments.</p> <p>If you need to test whether two <code>URI</code> object references denote the same object, use the '==' operator.</p> </dd> <dt id="$uri->abs(-$base_uri-)"><a id="abs"></a><a id="uri-abs-base_uri"></a>$uri->abs( $base_uri )</dt> <dd> <p>Returns an absolute URI reference. If $uri is already absolute, then a reference to it is simply returned. If the $uri is relative, then a new absolute URI is constructed by combining the $uri and the $base_uri, and returned.</p> </dd> <dt id="$uri->rel(-$base_uri-)"><a id="rel"></a><a id="uri-rel-base_uri"></a>$uri->rel( $base_uri )</dt> <dd> <p>Returns a relative URI reference if it is possible to make one that denotes the same resource relative to $base_uri. If not, then $uri is simply returned.</p> </dd> <dt id="$uri->secure"><a id="secure"></a><a id="uri-secure"></a>$uri->secure</dt> <dd> <p>Returns a TRUE value if the URI is considered to point to a resource on a secure channel, such as an SSL or TLS encrypted one.</p> </dd> </dl> <h1 id="GENERIC-METHODS"><a id="GENERIC"></a>GENERIC METHODS</h1> <p>The following methods are available to schemes that use the common/generic syntax for hierarchical namespaces. The descriptions of schemes below indicate which these are. Unrecognized schemes are assumed to support the generic syntax, and therefore the following methods:</p> <dl> <dt id="$uri->authority"><a id="authority"></a><a id="uri-authority"></a>$uri->authority</dt> <dd> </dd> <dt id="$uri->authority(-$new_authority-)"><a id="authority1"></a><a id="uri-authority-new_authority"></a>$uri->authority( $new_authority )</dt> <dd> <p>Sets and returns the escaped authority component of the $uri.</p> </dd> <dt id="$uri->path1"><a id="path2"></a><a id="uri-path1"></a>$uri->path</dt> <dd> </dd> <dt id="$uri->path(-$new_path-)1"><a id="path3"></a><a id="uri-path-new_path1"></a>$uri->path( $new_path )</dt> <dd> <p>Sets and returns the escaped path component of the $uri (the part between the host name and the query or fragment). The path can never be undefined, but it can be the empty string.</p> </dd> <dt id="$uri->path_query"><a id="path_query"></a><a id="uri-path_query"></a>$uri->path_query</dt> <dd> </dd> <dt id="$uri->path_query(-$new_path_query-)"><a id="path_query1"></a><a id="uri-path_query-new_path_query"></a>$uri->path_query( $new_path_query )</dt> <dd> <p>Sets and returns the escaped path and query components as a single entity. The path and the query are separated by a "?" character, but the query can itself contain "?".</p> </dd> <dt id="$uri->path_segments"><a id="path_segments"></a><a id="uri-path_segments"></a>$uri->path_segments</dt> <dd> </dd> <dt id="$uri->path_segments(-$segment,-...-)"><a id="path_segments1"></a><a id="uri-path_segments-segment"></a>$uri->path_segments( $segment, ... )</dt> <dd> <p>Sets and returns the path. In a scalar context, it returns the same value as $uri->path. In a list context, it returns the unescaped path segments that make up the path. Path segments that have parameters are returned as an anonymous array. The first element is the unescaped path segment proper; subsequent elements are escaped parameter strings. Such an anonymous array uses overloading so it can be treated as a string too, but this string does not include the parameters.</p> <p>Note that absolute paths have the empty string as their first <i>path_segment</i>, i.e. the <i>path</i> <code>/foo/bar</code> have 3 <i>path_segments</i>; "", "foo" and "bar".</p> </dd> <dt id="$uri->query"><a id="query"></a><a id="uri-query"></a>$uri->query</dt> <dd> </dd> <dt id="$uri->query(-$new_query-)"><a id="query1"></a><a id="uri-query-new_query"></a>$uri->query( $new_query )</dt> <dd> <p>Sets and returns the escaped query component of the $uri.</p> </dd> <dt id="$uri->query_form"><a id="query_form"></a><a id="uri-query_form"></a>$uri->query_form</dt> <dd> </dd> <dt id="$uri->query_form(-$key1-=>-$val1,-$key2-=>-$val2,-...-)"><a id="query_form1"></a><a id="uri-query_form-key1-val1-key2-val2"></a>$uri->query_form( $key1 => $val1, $key2 => $val2, ... )</dt> <dd> </dd> <dt id="$uri->query_form(-$key1-=>-$val1,-$key2-=>-$val2,-...,-$delim-)"><a id="query_form2"></a><a id="uri-query_form-key1-val1-key2-val2-...-delim"></a>$uri->query_form( $key1 => $val1, $key2 => $val2, ..., $delim )</dt> <dd> </dd> <dt id="$uri->query_form(-\@key_value_pairs-)"><a id="query_form3"></a><a id="uri-query_form-key_value_pairs"></a>$uri->query_form( \@key_value_pairs )</dt> <dd> </dd> <dt id="$uri->query_form(-\@key_value_pairs,-$delim-)"><a id="query_form4"></a><a id="uri-query_form-key_value_pairs-delim"></a>$uri->query_form( \@key_value_pairs, $delim )</dt> <dd> </dd> <dt id="$uri->query_form(-\%hash-)"><a id="query_form5"></a><a id="uri-query_form-hash"></a>$uri->query_form( \%hash )</dt> <dd> </dd> <dt id="$uri->query_form(-\%hash,-$delim-)"><a id="query_form6"></a><a id="uri-query_form-hash-delim"></a>$uri->query_form( \%hash, $delim )</dt> <dd> <p>Sets and returns query components that use the <i>application/x-www-form-urlencoded</i> format. Key/value pairs are separated by "&", and the key is separated from the value by a "=" character.</p> <p>The form can be set either by passing separate key/value pairs, or via an array or hash reference. Passing an empty array or an empty hash removes the query component, whereas passing no arguments at all leaves the component unchanged. The order of keys is undefined if a hash reference is passed. The old value is always returned as a list of separate key/value pairs. Assigning this list to a hash is unwise as the keys returned might repeat.</p> <p>The values passed when setting the form can be plain strings or references to arrays of strings. Passing an array of values has the same effect as passing the key repeatedly with one value at a time. All the following statements have the same effect:</p> <pre><code>$uri->query_form(foo => 1, foo => 2); $uri->query_form(foo => [1, 2]); $uri->query_form([ foo => 1, foo => 2 ]); $uri->query_form([ foo => [1, 2] ]); $uri->query_form({ foo => [1, 2] });</code></pre> <p>The $delim parameter can be passed as ";" to force the key/value pairs to be delimited by ";" instead of "&" in the query string. This practice is often recommended for URLs embedded in HTML or XML documents as this avoids the trouble of escaping the "&" character. You might also set the $URI::DEFAULT_QUERY_FORM_DELIMITER variable to ";" for the same global effect.</p> </dd> <dt id="@keys-=-$u->query_param"><a id="keys-u-query_param"></a>@keys = $u->query_param</dt> <dd> </dd> <dt id="@values-=-$u->query_param(-$key-)"><a id="values-u-query_param-key"></a>@values = $u->query_param( $key )</dt> <dd> </dd> <dt id="$first_value-=-$u->query_param(-$key-)"><a id="first_value-u-query_param-key"></a>$first_value = $u->query_param( $key )</dt> <dd> </dd> <dt id="$u->query_param(-$key,-$value,...-)"><a id="query_param"></a><a id="u-query_param-key-value"></a>$u->query_param( $key, $value,... )</dt> <dd> <p>If $u->query_param is called with no arguments, it returns all the distinct parameter keys of the URI. In a scalar context it returns the number of distinct keys.</p> <p>When a $key argument is given, the method returns the parameter values with the given key. In a scalar context, only the first parameter value is returned.</p> <p>If additional arguments are given, they are used to update successive parameters with the given key. If any of the values provided are array references, then the array is dereferenced to get the actual values.</p> <p>Please note that you can supply multiple values to this method, but you cannot supply multiple keys.</p> <p>Do this:</p> <pre><code>$uri->query_param( widget_id => 1, 5, 9 );</code></pre> <p>Do NOT do this:</p> <pre><code>$uri->query_param( widget_id => 1, frobnicator_id => 99 );</code></pre> </dd> <dt id="$u->query_param_append($key,-$value,...)"><a id="query_param_append"></a><a id="u-query_param_append-key-value"></a>$u->query_param_append($key, $value,...)</dt> <dd> <p>Adds new parameters with the given key without touching any old parameters with the same key. It can be explained as a more efficient version of:</p> <pre><code>$u->query_param($key, $u->query_param($key), $value,...);</code></pre> <p>One difference is that this expression would return the old values of $key, whereas the query_param_append() method does not.</p> </dd> <dt id="@values-=-$u->query_param_delete($key)"><a id="values-u-query_param_delete-key"></a>@values = $u->query_param_delete($key)</dt> <dd> </dd> <dt id="$first_value-=-$u->query_param_delete($key)"><a id="first_value-u-query_param_delete-key"></a>$first_value = $u->query_param_delete($key)</dt> <dd> <p>Deletes all key/value pairs with the given key. The old values are returned. In a scalar context, only the first value is returned.</p> <p>Using the query_param_delete() method is slightly more efficient than the equivalent:</p> <pre><code>$u->query_param($key, []);</code></pre> </dd> <dt id="$hashref-=-$u->query_form_hash"><a id="hashref-u-query_form_hash"></a>$hashref = $u->query_form_hash</dt> <dd> </dd> <dt id="$u->query_form_hash(-\%new_form-)"><a id="query_form_hash"></a><a id="u-query_form_hash-new_form"></a>$u->query_form_hash( \%new_form )</dt> <dd> <p>Returns a reference to a hash that represents the query form's key/value pairs. If a key occurs multiple times, then the hash value becomes an array reference.</p> <p>Note that sequence information is lost. This means that:</p> <pre><code>$u->query_form_hash($u->query_form_hash);</code></pre> <p>is not necessarily a no-op, as it may reorder the key/value pairs. The values returned by the query_param() method should stay the same though.</p> </dd> <dt id="$uri->query_keywords"><a id="query_keywords"></a><a id="uri-query_keywords"></a>$uri->query_keywords</dt> <dd> </dd> <dt id="$uri->query_keywords(-$keywords,-...-)"><a id="query_keywords1"></a><a id="uri-query_keywords-keywords"></a>$uri->query_keywords( $keywords, ... )</dt> <dd> </dd> <dt id="$uri->query_keywords(-\@keywords-)"><a id="query_keywords2"></a><a id="uri-query_keywords-keywords1"></a>$uri->query_keywords( \@keywords )</dt> <dd> <p>Sets and returns query components that use the keywords separated by "+" format.</p> <p>The keywords can be set either by passing separate keywords directly or by passing a reference to an array of keywords. Passing an empty array removes the query component, whereas passing no arguments at all leaves the component unchanged. The old value is always returned as a list of separate words.</p> </dd> </dl> <h1 id="SERVER-METHODS"><a id="SERVER"></a>SERVER METHODS</h1> <p>For schemes where the <i>authority</i> component denotes an Internet host, the following methods are available in addition to the generic methods.</p> <dl> <dt id="$uri->userinfo"><a id="userinfo"></a><a id="uri-userinfo"></a>$uri->userinfo</dt> <dd> </dd> <dt id="$uri->userinfo(-$new_userinfo-)"><a id="userinfo1"></a><a id="uri-userinfo-new_userinfo"></a>$uri->userinfo( $new_userinfo )</dt> <dd> <p>Sets and returns the escaped userinfo part of the authority component.</p> <p>For some schemes this is a user name and a password separated by a colon. This practice is not recommended. Embedding passwords in clear text (such as URI) has proven to be a security risk in almost every case where it has been used.</p> </dd> <dt id="$uri->host"><a id="host"></a><a id="uri-host"></a>$uri->host</dt> <dd> </dd> <dt id="$uri->host(-$new_host-)"><a id="host1"></a><a id="uri-host-new_host"></a>$uri->host( $new_host )</dt> <dd> <p>Sets and returns the unescaped hostname.</p> <p>If the <code>$new_host</code> string ends with a colon and a number, then this number also sets the port.</p> <p>For IPv6 addresses the brackets around the raw address is removed in the return value from $uri->host. When setting the host attribute to an IPv6 address you can use a raw address or one enclosed in brackets. The address needs to be enclosed in brackets if you want to pass in a new port value as well.</p> <pre><code>my $uri = URI->new("http://www.\xC3\xBCri-sample/foo/bar.html"); print $u->host; # www.xn--ri-sample-fra0f</code></pre> </dd> <dt id="$uri->ihost"><a id="ihost"></a><a id="uri-ihost"></a>$uri->ihost</dt> <dd> <p>Returns the host in Unicode form. Any IDNA A-labels (encoded unicode chars with <i>xn--</i> prefix) are turned into U-labels (unicode chars).</p> <pre><code>my $uri = URI->new("http://www.\xC3\xBCri-sample/foo/bar.html"); print $u->ihost; # www.\xC3\xBCri-sample</code></pre> </dd> <dt id="$uri->port"><a id="port"></a><a id="uri-port"></a>$uri->port</dt> <dd> </dd> <dt id="$uri->port(-$new_port-)"><a id="port1"></a><a id="uri-port-new_port"></a>$uri->port( $new_port )</dt> <dd> <p>Sets and returns the port. The port is a simple integer that should be greater than 0.</p> <p>If a port is not specified explicitly in the URI, then the URI scheme's default port is returned. If you don't want the default port substituted, then you can use the $uri->_port method instead.</p> </dd> <dt id="$uri->host_port"><a id="host_port"></a><a id="uri-host_port"></a>$uri->host_port</dt> <dd> </dd> <dt id="$uri->host_port(-$new_host_port-)"><a id="host_port1"></a><a id="uri-host_port-new_host_port"></a>$uri->host_port( $new_host_port )</dt> <dd> <p>Sets and returns the host and port as a single unit. The returned value includes a port, even if it matches the default port. The host part and the port part are separated by a colon: ":".</p> <p>For IPv6 addresses the bracketing is preserved; thus URI->new("http://[::1]/")->host_port returns "[::1]:80". Contrast this with $uri->host which will remove the brackets.</p> </dd> <dt id="$uri->default_port"><a id="default_port"></a><a id="uri-default_port"></a>$uri->default_port</dt> <dd> <p>Returns the default port of the URI scheme to which $uri belongs. For <i>http</i> this is the number 80, for <i>ftp</i> this is the number 21, etc. The default port for a scheme can not be changed.</p> </dd> </dl> <h1 id="SCHEME-SPECIFIC-SUPPORT"><a id="SCHEME"></a>SCHEME-SPECIFIC SUPPORT</h1> <p>Scheme-specific support is provided for the following URI schemes. For <code>URI</code> objects that do not belong to one of these, you can only use the common and generic methods.</p> <dl> <dt id="data:"><a id="data"></a><b>data</b>:</dt> <dd> <p>The <i>data</i> URI scheme is specified in RFC 2397. It allows inclusion of small data items as "immediate" data, as if it had been included externally.</p> <p><code>URI</code> objects belonging to the data scheme support the common methods and two new methods to access their scheme-specific components: $uri->media_type and $uri->data. See <a href="/pod/URI::data">URI::data</a> for details.</p> </dd> <dt id="file:"><a id="file"></a><b>file</b>:</dt> <dd> <p>An old specification of the <i>file</i> URI scheme is found in RFC 1738. A new RFC 2396 based specification in not available yet, but file URI references are in common use.</p> <p><code>URI</code> objects belonging to the file scheme support the common and generic methods. In addition, they provide two methods for mapping file URIs back to local file names; $uri->file and $uri->dir. See <a href="/pod/URI::file">URI::file</a> for details.</p> </dd> <dt id="ftp:"><a id="ftp"></a><b>ftp</b>:</dt> <dd> <p>An old specification of the <i>ftp</i> URI scheme is found in RFC 1738. A new RFC 2396 based specification in not available yet, but ftp URI references are in common use.</p> <p><code>URI</code> objects belonging to the ftp scheme support the common, generic and server methods. In addition, they provide two methods for accessing the userinfo sub-components: $uri->user and $uri->password.</p> <p>It also supports accessing to the encryption mode ($uri->encrypt_mode), which has its own defaults for <i>ftps</i> and <i>ftpes</i> URI schemes.</p> </dd> <dt id="gopher:"><a id="gopher"></a><b>gopher</b>:</dt> <dd> <p>The <i>gopher</i> URI scheme is specified in <draft-murali-url-gopher-1996-12-04> and will hopefully be available as a RFC 2396 based specification.</p> <p><code>URI</code> objects belonging to the gopher scheme support the common, generic and server methods. In addition, they support some methods for accessing gopher-specific path components: $uri->gopher_type, $uri->selector, $uri->search, $uri->string.</p> </dd> <dt id="http:"><a id="http"></a><b>http</b>:</dt> <dd> <p>The <i>http</i> URI scheme is specified in RFC 2616. The scheme is used to reference resources hosted by HTTP servers.</p> <p><code>URI</code> objects belonging to the http scheme support the common, generic and server methods.</p> </dd> <dt id="https:"><a id="https"></a><b>https</b>:</dt> <dd> <p>The <i>https</i> URI scheme is a Netscape invention which is commonly implemented. The scheme is used to reference HTTP servers through SSL connections. Its syntax is the same as http, but the default port is different.</p> </dd> <dt id="geo:"><a id="geo"></a><b>geo</b>:</dt> <dd> <p>The <i>geo</i> URI scheme is specified in <a href="http://tools.ietf.org/html/rfc5870">RFC 5870</a>. The scheme is used to reference physical location in a two- or three-dimensional coordinate reference system in a compact, simple, human-readable, and protocol-independent way.</p> <p><code>URI</code> objects belonging to the geo scheme support the common methods.</p> </dd> <dt id="icap:"><a id="icap"></a><b>icap</b>:</dt> <dd> <p>The <i>icap</i> URI scheme is specified in <a href="http://tools.ietf.org/html/rfc3507">RFC 3507</a>. The scheme is used to reference resources hosted by ICAP servers.</p> <p><code>URI</code> objects belonging to the icap scheme support the common, generic and server methods.</p> </dd> <dt id="icaps:"><a id="icaps"></a><b>icaps</b>:</dt> <dd> <p>The <i>icaps</i> URI scheme is specified in <a href="http://tools.ietf.org/html/rfc3507">RFC 3507</a> as well. The scheme is used to reference ICAP servers through SSL connections. Its syntax is the same as icap, including the same default port.</p> </dd> <dt id="irc:"><a id="irc"></a><b>irc</b>:</dt> <dd> <p>The <i>irc</i> URI scheme is specified in <a href="https://datatracker.ietf.org/doc/html/draft-butcher-irc-url-04">draft-butcher-irc-url-04</a>. The scheme is used to reference IRC servers and their resources.</p> <p><code>URI</code> objects belonging to the irc or ircs scheme support login methods, and the following IRC-specific ones: $uri->entity, $uri->flags, $uri->options.</p> </dd> <dt id="ldap:"><a id="ldap"></a><b>ldap</b>:</dt> <dd> <p>The <i>ldap</i> URI scheme is specified in RFC 2255. LDAP is the Lightweight Directory Access Protocol. An ldap URI describes an LDAP search operation to perform to retrieve information from an LDAP directory.</p> <p><code>URI</code> objects belonging to the ldap scheme support the common, generic and server methods as well as ldap-specific methods: $uri->dn, $uri->attributes, $uri->scope, $uri->filter, $uri->extensions. See <a href="/pod/URI::ldap">URI::ldap</a> for details.</p> </dd> <dt id="ldapi:"><a id="ldapi"></a><b>ldapi</b>:</dt> <dd> <p>Like the <i>ldap</i> URI scheme, but uses a UNIX domain socket. The server methods are not supported, and the local socket path is available as $uri->un_path. The <i>ldapi</i> scheme is used by the OpenLDAP package. There is no real specification for it, but it is mentioned in various OpenLDAP manual pages.</p> </dd> <dt id="ldaps:"><a id="ldaps"></a><b>ldaps</b>:</dt> <dd> <p>Like the <i>ldap</i> URI scheme, but uses an SSL connection. This scheme is deprecated, as the preferred way is to use the <i>start_tls</i> mechanism.</p> </dd> <dt id="mailto:"><a id="mailto"></a><b>mailto</b>:</dt> <dd> <p>The <i>mailto</i> URI scheme is specified in RFC 2368. The scheme was originally used to designate the Internet mailing address of an individual or service. It has (in RFC 2368) been extended to allow setting of other mail header fields and the message body.</p> <p><code>URI</code> objects belonging to the mailto scheme support the common methods and the generic query methods. In addition, they support the following mailto-specific methods: $uri->to, $uri->headers.</p> <p>Note that the "foo@example.com" part of a mailto is <i>not</i> the <code>userinfo</code> and <code>host</code> but instead the <code>path</code>. This allows a mailto URI to contain multiple comma separated email addresses.</p> </dd> <dt id="mms:"><a id="mms"></a><b>mms</b>:</dt> <dd> <p>The <i>mms</i> URL specification can be found at <a href="http://sdp.ppona.com/">http://sdp.ppona.com/</a>. <code>URI</code> objects belonging to the mms scheme support the common, generic, and server methods, with the exception of userinfo and query-related sub-components.</p> </dd> <dt id="news:"><a id="news"></a><b>news</b>:</dt> <dd> <p>The <i>news</i>, <i>nntp</i> and <i>snews</i> URI schemes are specified in <draft-gilman-news-url-01> and will hopefully be available as an RFC 2396 based specification soon. (Update: as of April 2010, they are in <a href="https://tools.ietf.org/html/rfc5538">RFC 5538</a>.</p> <p><code>URI</code> objects belonging to the news scheme support the common, generic and server methods. In addition, they provide some methods to access the path: $uri->group and $uri->message.</p> </dd> <dt id="nntp:"><a id="nntp"></a><b>nntp</b>:</dt> <dd> <p>See <i>news</i> scheme.</p> </dd> <dt id="nntps:"><a id="nntps"></a><b>nntps</b>:</dt> <dd> <p>See <i>news</i> scheme and <a href="https://tools.ietf.org/html/rfc5538">RFC 5538</a>.</p> </dd> <dt id="otpauth:"><a id="otpauth"></a><b>otpauth</b>:</dt> <dd> <p>The <i>otpauth</i> URI scheme is specified in <a href="https://github.com/google/google-authenticator/wiki/Key-Uri-Format">https://github.com/google/google-authenticator/wiki/Key-Uri-Format</a>. The scheme is used to encode secret keys for use in TOTP or HOTP schemes.</p> <p><code>URI</code> objects belonging to the otpauth scheme support the common methods.</p> </dd> <dt id="pop:"><a id="pop"></a><b>pop</b>:</dt> <dd> <p>The <i>pop</i> URI scheme is specified in RFC 2384. The scheme is used to reference a POP3 mailbox.</p> <p><code>URI</code> objects belonging to the pop scheme support the common, generic and server methods. In addition, they provide two methods to access the userinfo components: $uri->user and $uri->auth</p> </dd> <dt id="rlogin:"><a id="rlogin"></a><b>rlogin</b>:</dt> <dd> <p>An old specification of the <i>rlogin</i> URI scheme is found in RFC 1738. <code>URI</code> objects belonging to the rlogin scheme support the common, generic and server methods.</p> </dd> <dt id="rtsp:"><a id="rtsp"></a><b>rtsp</b>:</dt> <dd> <p>The <i>rtsp</i> URL specification can be found in section 3.2 of RFC 2326. <code>URI</code> objects belonging to the rtsp scheme support the common, generic, and server methods, with the exception of userinfo and query-related sub-components.</p> </dd> <dt id="rtspu:"><a id="rtspu"></a><b>rtspu</b>:</dt> <dd> <p>The <i>rtspu</i> URI scheme is used to talk to RTSP servers over UDP instead of TCP. The syntax is the same as rtsp.</p> </dd> <dt id="rsync:"><a id="rsync"></a><b>rsync</b>:</dt> <dd> <p>Information about rsync is available from <a href="http://rsync.samba.org/">http://rsync.samba.org/</a>. <code>URI</code> objects belonging to the rsync scheme support the common, generic and server methods. In addition, they provide methods to access the userinfo sub-components: $uri->user and $uri->password.</p> </dd> <dt id="sip:"><a id="sip"></a><b>sip</b>:</dt> <dd> <p>The <i>sip</i> URI specification is described in sections 19.1 and 25 of RFC 3261. <code>URI</code> objects belonging to the sip scheme support the common, generic, and server methods with the exception of path related sub-components. In addition, they provide two methods to get and set <i>sip</i> parameters: $uri->params_form and $uri->params.</p> </dd> <dt id="sips:"><a id="sips"></a><b>sips</b>:</dt> <dd> <p>See <i>sip</i> scheme. Its syntax is the same as sip, but the default port is different.</p> </dd> <dt id="snews:"><a id="snews"></a><b>snews</b>:</dt> <dd> <p>See <i>news</i> scheme. Its syntax is the same as news, but the default port is different.</p> </dd> <dt id="telnet:"><a id="telnet"></a><b>telnet</b>:</dt> <dd> <p>An old specification of the <i>telnet</i> URI scheme is found in RFC 1738. <code>URI</code> objects belonging to the telnet scheme support the common, generic and server methods.</p> </dd> <dt id="tn3270:"><a id="tn3270"></a><b>tn3270</b>:</dt> <dd> <p>These URIs are used like <i>telnet</i> URIs but for connections to IBM mainframes. <code>URI</code> objects belonging to the tn3270 scheme support the common, generic and server methods.</p> </dd> <dt id="ssh:"><a id="ssh"></a><b>ssh</b>:</dt> <dd> <p>Information about ssh is available at <a href="http://www.openssh.com/">http://www.openssh.com/</a>. <code>URI</code> objects belonging to the ssh scheme support the common, generic and server methods. In addition, they provide methods to access the userinfo sub-components: $uri->user and $uri->password.</p> </dd> <dt id="sftp:"><a id="sftp"></a><b>sftp</b>:</dt> <dd> <p><code>URI</code> objects belonging to the sftp scheme support the common, generic and server methods. In addition, they provide methods to access the userinfo sub-components: $uri->user and $uri->password.</p> </dd> <dt id="urn:"><a id="urn"></a><b>urn</b>:</dt> <dd> <p>The syntax of Uniform Resource Names is specified in RFC 2141. <code>URI</code> objects belonging to the urn scheme provide the common methods, and also the methods $uri->nid and $uri->nss, which return the Namespace Identifier and the Namespace-Specific String respectively.</p> <p>The Namespace Identifier basically works like the Scheme identifier of URIs, and further divides the URN namespace. Namespace Identifier assignments are maintained at <a href="http://www.iana.org/assignments/urn-namespaces">http://www.iana.org/assignments/urn-namespaces</a>.</p> <p>Letter case is not significant for the Namespace Identifier. It is always returned in lower case by the $uri->nid method. The $uri->_nid method can be used if you want it in its original case.</p> </dd> <dt id="urn:isbn:"><a id="urn1"></a><a id="urn:isbn"></a><b>urn</b>:<b>isbn</b>:</dt> <dd> <p>The <code>urn:isbn:</code> namespace contains International Standard Book Numbers (ISBNs) and is described in RFC 3187. A <code>URI</code> object belonging to this namespace has the following extra methods (if the Business::ISBN module is available): $uri->isbn, $uri->isbn_publisher_code, $uri->isbn_group_code (formerly isbn_country_code, which is still supported by issues a deprecation warning), $uri->isbn_as_ean.</p> </dd> <dt id="urn:oid:"><a id="urn2"></a><a id="urn:oid"></a><b>urn</b>:<b>oid</b>:</dt> <dd> <p>The <code>urn:oid:</code> namespace contains Object Identifiers (OIDs) and is described in RFC 3061. An object identifier consists of sequences of digits separated by dots. A <code>URI</code> object belonging to this namespace has an additional method called $uri->oid that can be used to get/set the oid value. In a list context, oid numbers are returned as separate elements.</p> </dd> </dl> <h1 id="CONFIGURATION-VARIABLES"><a id="CONFIGURATION"></a>CONFIGURATION VARIABLES</h1> <p>The following configuration variables influence how the class and its methods behave:</p> <dl> <dt id="$URI::ABS_ALLOW_RELATIVE_SCHEME"><a id="URI::ABS_ALLOW_RELATIVE_SCHEME"></a>$URI::ABS_ALLOW_RELATIVE_SCHEME</dt> <dd> <p>Some older parsers used to allow the scheme name to be present in the relative URL if it was the same as the base URL scheme. RFC 2396 says that this should be avoided, but you can enable this old behaviour by setting the $URI::ABS_ALLOW_RELATIVE_SCHEME variable to a TRUE value. The difference is demonstrated by the following examples:</p> <pre><code>URI->new("http:foo")->abs("http://host/a/b") ==> "http:foo" local $URI::ABS_ALLOW_RELATIVE_SCHEME = 1; URI->new("http:foo")->abs("http://host/a/b") ==> "http:/host/a/foo"</code></pre> </dd> <dt id="$URI::ABS_REMOTE_LEADING_DOTS"><a id="URI::ABS_REMOTE_LEADING_DOTS"></a>$URI::ABS_REMOTE_LEADING_DOTS</dt> <dd> <p>You can also have the abs() method ignore excess ".." segments in the relative URI by setting $URI::ABS_REMOTE_LEADING_DOTS to a TRUE value. The difference is demonstrated by the following examples:</p> <pre><code>URI->new("../../../foo")->abs("http://host/a/b") ==> "http://host/../../foo" local $URI::ABS_REMOTE_LEADING_DOTS = 1; URI->new("../../../foo")->abs("http://host/a/b") ==> "http://host/foo"</code></pre> </dd> <dt id="$URI::DEFAULT_QUERY_FORM_DELIMITER"><a id="URI::DEFAULT_QUERY_FORM_DELIMITER"></a>$URI::DEFAULT_QUERY_FORM_DELIMITER</dt> <dd> <p>This value can be set to ";" to have the query form <code>key=value</code> pairs delimited by ";" instead of "&" which is the default.</p> </dd> </dl> <h1 id="ENVIRONMENT-VARIABLES"><a id="ENVIRONMENT"></a>ENVIRONMENT VARIABLES</h1> <dl> <dt id="URI_HAS_RESERVED_SQUARE_BRACKETS">URI_HAS_RESERVED_SQUARE_BRACKETS</dt> <dd> <p>Before version 5.11, URI treated square brackets as reserved characters throughout the whole URI string. However, these brackets are reserved only within the authority/host part of the URI and nowhere else (RFC 3986).</p> <p>Starting with version 5.11, URI takes this distinction into account. Setting the environment variable <code>URI_HAS_RESERVED_SQUARE_BRACKETS</code> (programmatically or via the shell), restores the old behavior.</p> <pre><code>#-- restore 5.10 behavior programmatically BEGIN { $ENV{URI_HAS_RESERVED_SQUARE_BRACKETS} = 1; } use URI ();</code></pre> <p><i>Note</i>: This environment variable is just used during initialization and has to be set <i>before</i> module URI is used/required. Changing it at run time has no effect.</p> <p>Its value can be checked programmatically by accessing the constant <code>URI::HAS_RESERVED_SQUARE_BRACKETS</code>.</p> </dd> </dl> <h1 id="BUGS">BUGS</h1> <p>There are some things that are not quite right:</p> <ul> <li><p>Using regexp variables like $1 directly as arguments to the URI accessor methods does not work too well with current perl implementations. I would argue that this is actually a bug in perl. The workaround is to quote them. Example:</p> <pre><code>/(...)/ || die; $u->query("$1");</code></pre> </li> <li><p>The escaping (percent encoding) of chars in the 128 .. 255 range passed to the URI constructor or when setting URI parts using the accessor methods depend on the state of the internal UTF8 flag (see utf8::is_utf8) of the string passed. If the UTF8 flag is set the UTF-8 encoded version of the character is percent encoded. If the UTF8 flag isn't set the Latin-1 version (byte) of the character is percent encoded. This basically exposes the internal encoding of Perl strings.</p> </li> </ul> <h1 id="PARSING-URIs-WITH-REGEXP"><a id="PARSING"></a>PARSING URIs WITH REGEXP</h1> <p>As an alternative to this module, the following (official) regular expression can be used to decode a URI:</p> <pre><code>my($scheme, $authority, $path, $query, $fragment) = $uri =~ m|(?:([^:/?#]+):)?(?://([^/?#]*))?([^?#]*)(?:\?([^#]*))?(?:#(.*))?|;</code></pre> <p>The <code>URI::Split</code> module provides the function uri_split() as a readable alternative.</p> <h1 id="SEE-ALSO"><a id="SEE"></a>SEE ALSO</h1> <p><a href="/pod/URI::file">URI::file</a>, <a href="/pod/URI::WithBase">URI::WithBase</a>, <a href="/pod/URI::Escape">URI::Escape</a>, <a href="/pod/URI::Split">URI::Split</a>, <a href="/pod/URI::Heuristic">URI::Heuristic</a></p> <p>RFC 2396: "Uniform Resource Identifiers (URI): Generic Syntax", Berners-Lee, Fielding, Masinter, August 1998.</p> <p><a href="http://www.iana.org/assignments/uri-schemes">http://www.iana.org/assignments/uri-schemes</a></p> <p><a href="http://www.iana.org/assignments/urn-namespaces">http://www.iana.org/assignments/urn-namespaces</a></p> <p><a href="http://www.w3.org/Addressing/">http://www.w3.org/Addressing/</a></p> <h1 id="COPYRIGHT">COPYRIGHT</h1> <p>Copyright 1995-2009 Gisle Aas.</p> <p>Copyright 1995 Martijn Koster.</p> <p>This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.</p> <h1 id="AUTHORS-/-ACKNOWLEDGMENTS"><a id="AUTHORS"></a><a id="AUTHORS-ACKNOWLEDGMENTS"></a>AUTHORS / ACKNOWLEDGMENTS</h1> <p>This module is based on the <code>URI::URL</code> module, which in turn was (distantly) based on the <code>wwwurl.pl</code> code in the libwww-perl for perl4 developed by Roy Fielding, as part of the Arcadia project at the University of California, Irvine, with contributions from Brooks Cutter.</p> <p><code>URI::URL</code> was developed by Gisle Aas, Tim Bunce, Roy Fielding and Martijn Koster with input from other people on the libwww-perl mailing list.</p> <p><code>URI</code> and related subclasses was developed by Gisle Aas.</p></div> <div id="metacpan_install-instructions-dialog" class="modal fade"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h4 class="modal-title">Module Install Instructions</h4> </div> <div class="modal-body"> <p>To install URI, copy and paste the appropriate command in to your terminal.</p> <p><a href="/dist/App-cpanminus/view/bin/cpanm">cpanm</a></p> <pre><code>cpanm URI</code></pre> <p><a href="/pod/CPAN">CPAN shell</a></p> <pre><code>perl -MCPAN -e shell install URI</code></pre> <p>For more information on module installation, please visit <a href="https://www.cpan.org/modules/INSTALL.html">the detailed CPAN module installation guide</a>.</p> </div> <div class="modal-footer"> <a href="#" data-dismiss="modal" class="btn">Close</a> </div> </div> </div> </div> </main> <div class="content-pagination"> </div> </div> <footer class="footer"> <div class="footer-container"> <div class="footer-social"> <div class="footer-link footer-logo"> <a href="/"> <img src="/static/images/metacpan-logo.svg" alt="MetaCPAN" /> </a> </div> <a class="footer-social-link" href="https://github.com/metacpan"> <i class="fab fa-github-square"></i> </a> <a class="footer-social-link" href="https://fosstodon.org/@metacpan"> <i class="fab fa-mastodon"></i> </a> </div> <div class="footer-links"> <div class="footer-link"> <a href="/about">About</a> </div> <div class="footer-link"> <a href="/about/sponsors">Sponsor</a> </div> <div class="footer-link"> <a href="https://grep.metacpan.org">grep::cpan</a> </div> <div class="footer-link"> <a href="/recent">Recent</a> </div> <div class="footer-link"> <a href="/about/faq">FAQ</a> </div> <div class="footer-link"> <a href="/tools">Tools</a> </div> <div class="footer-link"> <a href="https://fastapi.metacpan.org/">API</a> </div> <div class="footer-link"> <a href="https://www.perl.org/">Perl.org</a> </div> </div> <div class="footer-sponsors"> <a class="footer-sponsor-link" target="_blank" href="https://www.bytemark.co.uk/" rel="noopener"> <img class="footer-sponsor-bytemark" src="/static/images/sponsors/bytemark_logo.svg" alt="Bytemark logo"> </a> <a class="footer-sponsor-link" target="_blank" href="https://www.liquidweb.com/" rel="noopener"> <img class="footer-sponsor-liquidweb" src="/static/images/sponsors/liquidweb_logo.png" alt="liquidweb logo"> </a> <a class="footer-sponsor-link" target="_blank" href="https://deriv.com/careers/" rel="noopener"> <img class="footer-sponsor-deriv" src="/static/images/sponsors/deriv.svg" alt="Deriv logo"> </a> <a class="footer-sponsor-link" target="_blank" href="https://geocode.xyz" rel="noopener"> <img class="footer-sponsor-geocode" src="/static/images/sponsors/geocodelogo.svg" alt="Geocode logo"> </a> <a class="footer-sponsor-link" target="_blank" href="https://www.fastly.com/" rel="noopener"> <img class="footer-sponsor-fastly" src="/static/images/sponsors/fastly_logo.svg" alt="Fastly logo"> </a> <a class="footer-sponsor-link" target="_blank" href="https://opencagedata.com" rel="noopener"> <img class="footer-sponsor-opencage" src="/static/images/sponsors/open-cage.svg" alt="OpenCage logo"> </a> <!-- Added 2024-07-22 --> <a class="footer-sponsor-link" target="_blank" href="https://www.elastic.co/" rel="noopener"> <img class="footer-sponsor-elastic" src="/static/images/sponsors/elastic.svg" alt="Elastic logo"> </a> <!-- Added 2024-07-22 --> <a class="footer-sponsor-link" target="_blank" href="https://route4me.com/" rel="noopener"> <img class="footer-sponsor-route4me" src="/static/images/sponsors/route4me.png" alt="Route4Me logo"> </a> </div> </div> </footer> <div class="modal fade" tabindex="-1" role="dialog" id="metacpan_keyboard-shortcuts"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal">×</button> <h4 class="modal-title">Keyboard Shortcuts</h4> </div> <div class="modal-body row"> <div class="col-md-6"> <table class="table keyboard-shortcuts"> <thead> <tr> <th></th> <th>Global</th> </tr> </thead> <tbody> <tr> <td class="keys"> <kbd>s</kbd> </td> <td>Focus search bar</td> </tr> <tr> <td class="keys"> <kbd>?</kbd> </td> <td>Bring up this help dialog</td> </tr> </tbody> </table> <table class="table keyboard-shortcuts"> <thead> <tr> <th></th> <th>GitHub</th> </tr> </thead> <tbody> <tr> <td class="keys"> <kbd>g</kbd> <kbd>p</kbd> </td> <td>Go to pull requests</td> </tr> <tr> <td class="keys"> <kbd>g</kbd> <kbd>i</kbd> </td> <td>go to github issues (only if github is preferred repository)</td> </tr> </tbody> </table> </div> <div class="col-md-6"> <table class="table keyboard-shortcuts"> <thead> <tr> <th></th> <th>POD</th> </tr> </thead> <tbody> <tr> <td class="keys"> <kbd>g</kbd> <kbd>a</kbd> </td> <td>Go to author</td> </tr> <tr> <td class="keys"> <kbd>g</kbd> <kbd>c</kbd> </td> <td>Go to changes</td> </tr> <tr> <td class="keys"> <kbd>g</kbd> <kbd>i</kbd> </td> <td>Go to issues</td> </tr> <tr> <td class="keys"> <kbd>g</kbd> <kbd>d</kbd> </td> <td>Go to dist</td> </tr> <tr> <td class="keys"> <kbd>g</kbd> <kbd>r</kbd> </td> <td>Go to repository/SCM</td> </tr> <tr> <td class="keys"> <kbd>g</kbd> <kbd>s</kbd> </td> <td>Go to source</td> </tr> <tr> <td class="keys"> <kbd>g</kbd> <kbd>b</kbd> </td> <td>Go to file browse</td> </tr> </tbody> </table> </div> <div class="col-md-12"> <table class="table keyboard-shortcuts"> <thead> <tr> <th></th> <th>Search terms</th> </tr> </thead> <tbody> <tr> <td><em>module:</em> (e.g. <a href="/search?q=module%3APlugin">module:Plugin</a>)</td> </tr> <tr> <td><em>distribution:</em> (e.g. <a href="/search?q=distribution%3ADancer+auth">distribution:Dancer auth</a>)</td> </tr> <tr> <td><em>author:</em> (e.g. <a href="/search?q=author%3ASONGMU+Redis">author:SONGMU Redis</a>)</td> </tr> <tr> <td><em>version:</em> (e.g. <a href="/search?q=version%3A1.00">version:1.00</a>)</td> </tr> </tbody> </table> </div> </div> <div class="modal-footer"></div> </div> </div> </div> </body> </html>