Subject: | [Patch] POD nits |
The attached patch fixes some POD, which renders wrong, at least at
search.cpan.org.
Subject: | pod.patch |
diff --git a/lib/Iterate.pm b/lib/Iterate.pm
index cf0d424..c6536a8 100644
--- a/lib/Iterate.pm
+++ b/lib/Iterate.pm
@@ -102,7 +102,7 @@ sub _check_object
=item iterate BLOCK, OBJECT
-Applies BLOCK to each item returned by C<OBJECT->__next__>.
+Applies BLOCK to each item returned by C<< OBJECT->__next__ >>.
iterate { print "$_\n" } $object;
@@ -138,7 +138,7 @@ sub iterate (&$)
=item igrep BLOCK, OBJECT
-Applies BLOCK to each item returned by C<OBJECT->__next__>, and returns
+Applies BLOCK to each item returned by C<< OBJECT->__next__ >>, and returns
all of the elements for which the BLOCK returns TRUE.
my $output = igrep { print "$_\n" } $object;
@@ -180,7 +180,7 @@ sub igrep (&$)
=item imap BLOCK, OBJECT
-Applies BLOCK to each item returned by C<OBJECT->__next__>, and returns
+Applies BLOCK to each item returned by C<< OBJECT->__next__ >>, and returns
the combined lists that BLOCK returns for each of the elements.
my $output = imap { print "$_\n" } $object;