Subject: | Documentation spelling errors |
There are some simple spelling errors in the documentation. Here is a
patch to fix them.
Subject: | 0001-doc-spelling-fixes.patch |
From 0d642fb4bd29eb42502d5164a3e6db271000bd8e Mon Sep 17 00:00:00 2001
From: "Paul C. Mantz" <pcmantz@gmail.com>
Date: Fri, 18 Nov 2011 20:36:46 -0600
Subject: [PATCH] doc spelling fixes
---
lib/Iterator/Simple.pm | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/Iterator/Simple.pm b/lib/Iterator/Simple.pm
index 3f6b1aa..c63ed5c 100644
--- a/lib/Iterator/Simple.pm
+++ b/lib/Iterator/Simple.pm
@@ -569,7 +569,7 @@ return true if C<$object> can be converted with C<iter($object)>
=item list($object)
-This fuction converts C<$object> into single array referece.
+This function converts C<$object> into single array reference.
=over 2
@@ -644,7 +644,7 @@ For example:
$itr = iter [ 'foo', 'bar', 'baz', 'fiz' ];
$filterd = ifilter $itr, sub {
return if $_ eq 'bar'; #skip
- retrun iter(['whoa', 'who']) if $_ eq 'baz'; #inflate
+ return iter(['whoa', 'who']) if $_ eq 'baz'; #inflate
return ":$_:"; # modify
};
@@ -730,7 +730,7 @@ Just bless $coderef in Iterator::Simple::Iterator and returns it.
=item $iterator->next
-Call undelying code.
+Call underlying code.
=item $iterator->__iter__
--
1.7.5.4