Skip to content

Commit 2e1fb89

Browse files
committed
updated documentation
1 parent e46f264 commit 2e1fb89

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

Diff for: lib/URL/Encode.pod

+13-13
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ URL::Encode - Encoding and decoding of C<application/x-www-form-urlencoded> enco
2020
This module provides functions to encode and decode strings into and from the
2121
C<application/x-www-form-urlencoded> encoding.
2222

23-
The C<application/x-www-form-urlencoded> format encodes a ordered data sets of
24-
pairs consisting of a name and a value, with pairs seperated by ampersand and
25-
names and values seperated by the equal sign. Space characters are replaced
26-
with plus sign and any characters not in the unreserved character set is
27-
encoded using the percent-encoding scheme also used for resource identifiers.
28-
A percent-encoded octet is encoded as a character triplet, consisting of the
29-
percent character "%" followed by the two hexadecimal digits representing
30-
that octet's numeric value.
23+
The C<application/x-www-form-urlencoded> format encodes a ordered data
24+
sets of pairs consisting of a name and a value, with pairs seperated by
25+
ampersand or semicolon and names and values seperated by the equal sign.
26+
Space characters are replaced with plus sign and any characters not in
27+
the unreserved character set is encoded using the percent-encoding scheme
28+
also used for resource identifiers. A percent-encoded octet is encoded as
29+
a character triplet, consisting of the percent character "%" followed by
30+
the two hexadecimal digits representing that octet's numeric value.
3131

3232
The unreserved character set includes the uppercase and lowercase letters,
3333
decimal digits, hyphen, period, underscore, and tilde.
@@ -72,7 +72,7 @@ octet string.
7272
$params = url_params_flat($octets);
7373
$params = url_params_flat($octets, $utf8);
7474

75-
Parses a URL-encoded form data sets of name/value pairs from the given octets.
75+
Parses a URL-encoded data set of name/value pairs from the given octets.
7676
Returns an ARRAY reference containing the URL-decoded name/value pairs in order.
7777

7878
$params = url_params_flat('foo=A&foo=B&bar=C');
@@ -83,7 +83,7 @@ Returns an ARRAY reference containing the URL-decoded name/value pairs in order.
8383
$params = url_params_mixed($octets);
8484
$params = url_params_mixed($octets, $utf8);
8585

86-
Parses a URL-encoded form data sets of name/value pairs from the given octets.
86+
Parses a URL-encoded data set of name/value pairs from the given octets.
8787
Returns a HASH reference containing the URL-decoded name/value pairs. Multiple
8888
occurrences of a parameter will result in an ARRAY reference holding all
8989
the values for that parameter in order.
@@ -96,7 +96,7 @@ the values for that parameter in order.
9696
$params = url_params_multi($octets);
9797
$params = url_params_multi($octets, $utf8);
9898

99-
Parses a URL-encoded form data sets of name/value pairs from the given octets.
99+
Parses a URL-encoded data set of name/value pairs from the given octets.
100100
Returns a HASH reference containing the URL-decoded name/value pairs. Values
101101
are stored in an ARRAY reference.
102102

@@ -108,7 +108,7 @@ are stored in an ARRAY reference.
108108
url_params_each($octets, $callback);
109109
url_params_each($octets, $callback, $utf8);
110110

111-
Parses a URL-encoded form data sets of name/value pairs from the given octets.
111+
Parses a URL-encoded data set of name/value pairs from the given octets.
112112
Invokes the given callback for each URL-decoded name/value pair.
113113

114114
$callback = sub {
@@ -200,7 +200,7 @@ Christian Hansen C<[email protected]>
200200

201201
=head1 COPYRIGHT
202202

203-
Copyright 2011-2013 by Christian Hansen.
203+
Copyright 2011-2014 by Christian Hansen.
204204

205205
This library is free software; you can redistribute it and/or modify
206206
it under the same terms as Perl itself.

0 commit comments

Comments
 (0)