{"id":6824,"date":"2022-12-20T19:33:41","date_gmt":"2022-12-20T22:33:41","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/urisplit-man3\/"},"modified":"2022-12-20T19:33:41","modified_gmt":"2022-12-20T22:33:41","slug":"urisplit-man3","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/urisplit-man3\/","title":{"rendered":"URI::Split (man3)"},"content":{"rendered":"<h1 align=\"center\">URI::Split<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#COPYRIGHT\">COPYRIGHT<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">URI::Split \u2212 Parse and compose URI strings<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">use URI::Split qw(uri_split uri_join); <br \/> ($scheme, $auth, $path, $query, $frag) = uri_split($uri); <br \/> $uri = uri_join($scheme, $auth, $path, $query, $frag);<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Provides functions to parse and compose <small>URI<\/small> strings. The following functions are provided: <br \/> ($scheme, $auth, $path, $query, $frag) = uri_split($uri)<\/p>\n<p style=\"margin-left:17%;\">Breaks up a <small>URI<\/small> string into its component parts. An &#8220;undef&#8221; value is returned for those parts that are not present. The $path part is always present (but can be the empty string) and is thus never returned as &#8220;undef&#8221;.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">No sensible value is returned if this function is called in a scalar context.<\/p>\n<p style=\"margin-left:11%;\">$uri = uri_join($scheme, $auth, $path, $query, $frag)<\/p>\n<p style=\"margin-left:17%;\">Puts together a <small>URI<\/small> string from its parts. Missing parts are signaled by passing &#8220;undef&#8221; for the corresponding argument.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Minimal escaping is applied to parts that contain reserved chars that would confuse a parser. For instance, any occurrence of \u2019?\u2019 or \u2019#\u2019 in $path is always escaped, as it would otherwise be parsed back as a query or fragment.<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><small>URI<\/small> , URI::Escape<\/p>\n<h2>COPYRIGHT <a name=\"COPYRIGHT\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Copyright 2003, Gisle Aas<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">This library is free software; you can redistribute it and\/or modify it under the same terms as Perl itself.<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  URI::Split \u2212 Parse and compose URI strings <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[3007,3190],"class_list":["post-6824","post","type-post","status-publish","format-standard","hentry","category-sin-categoria","tag-man3","tag-urisplit"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/6824","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=6824"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/6824\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=6824"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=6824"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=6824"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}