URI-1.35 >
1.54
との差分
URI::Split 1.54 と 1.35 の差分
1 | 1 | |
2 | 2 | =encoding euc-jp |
3 | 3 | |
4 | 4 | =head1 NAME |
5 | 5 | |
6 | 6 | =begin original |
7 | 7 | |
8 | 8 | URI::Split - Parse and compose URI strings |
9 | 9 | |
10 | 10 | =end original |
11 | 11 | |
12 | 12 | URI::Split - URI 文字列をパースおよび構成する |
13 | 13 | |
14 | 14 | =head1 SYNOPSIS |
15 | 15 | |
16 | 16 | use URI::Split qw(uri_split uri_join); |
17 | 17 | ($scheme, $auth, $path, $query, $frag) = uri_split($uri); |
18 | 18 | $uri = uri_join($scheme, $auth, $path, $query, $frag); |
19 | 19 | |
20 | 20 | =head1 DESCRIPTION |
21 | 21 | |
22 | 22 | =begin original |
23 | 23 | |
24 | 24 | Provides functions to parse and compose URI |
25 | 25 | strings. The following functions are provided: |
26 | 26 | |
27 | 27 | =end original |
28 | 28 | |
29 | URI | |
29 | Provides functions to parse and compose URI | |
30 | ||
30 | strings. The following functions are provided: | |
31 | (TBT) | |
31 | 32 | |
32 | 33 | =over |
33 | 34 | |
34 | 35 | =item ($scheme, $auth, $path, $query, $frag) = uri_split($uri) |
35 | 36 | |
36 | 37 | =begin original |
37 | 38 | |
38 | 39 | Breaks up a URI string into its component |
39 | 40 | parts. An C<undef> value is returned for those parts that are not |
40 | 41 | present. The $path part is always present (but can be the empty |
41 | 42 | string) and is thus never returned as C<undef>. |
42 | 43 | |
43 | 44 | =end original |
44 | 45 | |
45 | URI | |
46 | Breaks up a URI string into its component | |
46 | ||
47 | parts. An C<undef> value is returned for those parts that are not | |
47 | $path | |
48 | present. The $path part is always present (but can be the empty | |
48 | C<undef> | |
49 | string) and is thus never returned as C<undef>. | |
50 | (TBT) | |
49 | 51 | |
50 | 52 | =begin original |
51 | 53 | |
52 | 54 | No sensible value is returned if this function is called in a scalar |
53 | 55 | context. |
54 | 56 | |
55 | 57 | =end original |
56 | 58 | |
57 | ||
59 | No sensible value is returned if this function is called in a scalar | |
58 | ||
60 | context. | |
61 | (TBT) | |
59 | 62 | |
60 | 63 | =item $uri = uri_join($scheme, $auth, $path, $query, $frag) |
61 | 64 | |
62 | 65 | =begin original |
63 | 66 | |
64 | 67 | Puts together a URI string from its parts. |
65 | 68 | Missing parts are signaled by passing C<undef> for the corresponding |
66 | 69 | argument. |
67 | 70 | |
68 | 71 | =end original |
69 | 72 | |
70 | URI | |
73 | Puts together a URI string from its parts. | |
71 | ||
74 | Missing parts are signaled by passing C<undef> for the corresponding | |
75 | argument. | |
76 | (TBT) | |
72 | 77 | |
73 | 78 | =begin original |
74 | 79 | |
75 | 80 | Minimal escaping is applied to parts that contain reserved chars |
76 | 81 | that would confuse a parser. For instance, any occurrence of '?' or '#' |
77 | 82 | in $path is always escaped, as it would otherwise be parsed back |
78 | 83 | as a query or fragment. |
79 | 84 | |
80 | 85 | =end original |
81 | 86 | |
82 | ||
87 | Minimal escaping is applied to parts that contain reserved chars | |
83 | ||
88 | that would confuse a parser. For instance, any occurrence of '?' or '#' | |
84 | ||
89 | in $path is always escaped, as it would otherwise be parsed back | |
90 | as a query or fragment. | |
91 | (TBT) | |
85 | 92 | |
86 | 93 | =back |
87 | 94 | |
88 | 95 | =head1 SEE ALSO |
89 | 96 | |
90 | 97 | L<URI>, L<URI::Escape> |
91 | 98 | |
92 | 99 | =head1 COPYRIGHT |
93 | 100 | |
94 | 101 | Copyright 2003, Gisle Aas |
95 | 102 | |
96 | 103 | This library is free software; you can redistribute it and/or |
97 | 104 | modify it under the same terms as Perl itself. |
98 | 105 | |
99 | 106 | =begin meta |
100 | 107 | |
101 | Translate: SHIRAKATA Kentaro <argrath@ub32.org> (1.35 | |
108 | Translate: SHIRAKATA Kentaro <argrath@ub32.org> (1.35) | |
102 | Status: | |
109 | Status: in progress | |
103 | 110 | |
104 | 111 | =end meta |
105 | 112 | |
106 | 113 | =cut |