URI::Split(3) | User Contributed Perl Documentation | URI::Split(3) |
URI::Split - Parse and compose URI strings
use URI::Split qw(uri_split uri_join); ($scheme, $auth, $path, $query, $frag) = uri_split($uri); $uri = uri_join($scheme, $auth, $path, $query, $frag);
Provides functions to parse and compose URI strings. The following functions are provided:
No sensible value is returned if this function is called in a scalar context.
Minimal escaping is applied to parts that contain reserved chars that would confuse a parser. For instance, any occurrence of '?' or '#' in $path is always escaped, as it would otherwise be parsed back as a query or fragment.
URI, URI::Escape
Copyright 2003, Gisle Aas
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
2019-01-09 | perl v5.34.0 |