Skip to content

Commit 3a3b860

Browse files
committed
Apply a patch from sobrado8086; fix #92
1 parent a2e89a9 commit 3a3b860

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/JSON/PP.pm

+3-3
Original file line numberDiff line numberDiff line change
@@ -2041,7 +2041,7 @@ This setting has currently no effect on tied hashes.
20412041
20422042
$enabled = $json->get_allow_nonref
20432043
2044-
Unlike other boolean options, this opotion is enabled by default beginning
2044+
Unlike other boolean options, this option is enabled by default beginning
20452045
with version C<4.0>.
20462046
20472047
If C<$enable> is true (or missing), then the C<encode> method can convert a
@@ -2480,7 +2480,7 @@ then the argument will be passed to Perl's C<sort> built-in function.
24802480
24812481
As the sorting is done in the JSON::PP scope, you usually need to
24822482
prepend C<JSON::PP::> to the subroutine name, and the special variables
2483-
C<$a> and C<$b> used in the subrontine used by C<sort> function.
2483+
C<$a> and C<$b> used in the subroutine used by C<sort> function.
24842484
24852485
Example:
24862486
@@ -2845,7 +2845,7 @@ argument being the object to serialise, and the second argument being the
28452845
constant string C<JSON> to distinguish it from other serialisers.
28462846
28472847
The C<FREEZE> method can return any number of values (i.e. zero or
2848-
more). These values and the paclkage/classname of the object will then be
2848+
more). These values and the package/classname of the object will then be
28492849
encoded as a tagged JSON value in the following format:
28502850
28512851
("classname")[FREEZE return values...]

0 commit comments

Comments
 (0)