=encoding euc-jp =head1 NAME =begin original URI::Split - Parse and compose URI strings =end original URI::Split - URI 文字列をパースおよび構成する =head1 SYNOPSIS use URI::Split qw(uri_split uri_join); ($scheme, $auth, $path, $query, $frag) = uri_split($uri); $uri = uri_join($scheme, $auth, $path, $query, $frag); =head1 DESCRIPTION =begin original Provides functions to parse and compose URI strings. The following functions are provided: =end original Provides functions to parse and compose URI strings. The following functions are provided: (TBT) =over =item ($scheme, $auth, $path, $query, $frag) = uri_split($uri) =begin original Breaks up a URI string into its component parts. An C 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 C. =end original Breaks up a URI string into its component parts. An C 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 C. (TBT) =begin original No sensible value is returned if this function is called in a scalar context. =end original No sensible value is returned if this function is called in a scalar context. (TBT) =item $uri = uri_join($scheme, $auth, $path, $query, $frag) =begin original Puts together a URI string from its parts. Missing parts are signaled by passing C for the corresponding argument. =end original Puts together a URI string from its parts. Missing parts are signaled by passing C for the corresponding argument. (TBT) =begin original 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. =end original 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. (TBT) =back =head1 SEE ALSO L, L =head1 COPYRIGHT Copyright 2003, Gisle Aas This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. =begin meta Translate: SHIRAKATA Kentaro (1.35) Status: in progress =end meta =cut