Subject: | Documentation spelling errors |
Hi. I'm packaging File::Tee for Debian. The docs had some minor spelling
errors. I addressed these, and am attaching a patch. Thanks.
Subject: | 0001-fixed-some-documentation-spelling-errors.patch |
From: Dima Kogan <dima@secretsauce.net>
Date: Fri, 2 Nov 2012 20:58:48 -0700
Subject: fixed some documentation spelling errors
Origin: File::Tee 0.07 from CPAN
---
lib/File/Tee.pm | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/lib/File/Tee.pm b/lib/File/Tee.pm
index f3f9338..caa4ae2 100644
--- a/lib/File/Tee.pm
+++ b/lib/File/Tee.pm
@@ -292,7 +292,7 @@ This module is able to replicate data written to a Perl stream into
another streams. It is the Perl equivalent of the shell utility
L<tee(1)>.
-It is implemeted around C<fork>, creating a new process for every
+It is implemented around C<fork>, creating a new process for every
tee'ed stream. That way, there are no problems handling the output
generated by external programs run with L<system|perlfunc/system>
or by XS modules that don't go through L<perlio>.
@@ -415,8 +415,8 @@ Sets autoflush mode for the target streams. Default is on.
=item ignore_errors => $bool
-By default, when writting to the targets, any error will close the
-tee'ed handle. This option allows to change that behaviour.
+By default, when writing to the targets, any error will close the
+tee'ed handle. This option allows one to change that behaviour.
=item process => sub { ... }
@@ -443,9 +443,9 @@ For instance:
=back
-The funcion returns the PID for the newly created process.
+The function returns the PID for the newly created process.
-Inside the C<tee> pipe process created, data is readed honouring the
+Inside the C<tee> pipe process created, data is read honouring the
input record separator C<$/>.
You could also want to set the tee'ed stream in autoflush mode:
@@ -471,8 +471,8 @@ Send bug reports by email or via L<the CPAN RT web|https://rt.cpan.org>.
L<IO::Capture>
L<IO::Tee> is a similar module implemented around tied file
-handles. L<Tee> allows to launch external processes capturing their
-output to some files. L<IO::CaptureOutput> allows to capture the
+handles. L<Tee> allows one to launch external processes capturing their
+output to some files. L<IO::CaptureOutput> allows one to capture the
output generated from a child process or a subroutine.