[libsyntax-keyword-try-perl] 01/03: spelling.patch

gregor herrmann gregoa at debian.org
Sat Jan 20 01:44:26 UTC 2018


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libsyntax-keyword-try-perl.

commit 333dd5ce773275fdfe078b7c02696c87d3972f22
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Jan 20 02:41:07 2018 +0100

    spelling.patch
---
 debian/patches/series         |  1 +
 debian/patches/spelling.patch | 38 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..5299247
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+spelling.patch
diff --git a/debian/patches/spelling.patch b/debian/patches/spelling.patch
new file mode 100644
index 0000000..39cedc5
--- /dev/null
+++ b/debian/patches/spelling.patch
@@ -0,0 +1,38 @@
+Description: fix spelling mistakes
+Origin: vendor
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2018-01-20
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=124140
+Bug: https://rt.cpan.org/Ticket/Display.html?id=124140
+
+--- a/lib/Syntax/Keyword/Try.pm
++++ b/lib/Syntax/Keyword/Try.pm
+@@ -95,13 +95,13 @@
+       STATEMENTS...
+    }
+ 
+-A C<catch> statement provides a block of code to the preceeding C<try>
++A C<catch> statement provides a block of code to the preceding C<try>
+ statement that will be invoked in the case that the main block of code throws
+ an exception. The C<catch> block can inspect the raised exception by looking
+ in C<$@> in the usual way.
+ 
+ Presence of this C<catch> statement causes any exception thrown by the
+-preceeding C<try> block to be non-fatal to the surrounding code. If the
++preceding C<try> block to be non-fatal to the surrounding code. If the
+ C<catch> block wishes to optionally handle some exceptions but not others, it
+ can re-raise it (or another exception) by calling C<die> in the usual manner.
+ 
+@@ -121,10 +121,10 @@
+       STATEMENTS...
+    }
+ 
+-A C<finally> statement provides a block of code to the preceeding C<try>
++A C<finally> statement provides a block of code to the preceding C<try>
+ statement (or C<try/catch> pair) which is executed afterwards, both in the
+ case of a normal execution or a thrown exception. This code block may be used
+-to provide whatever clean-up operations might be required by preceeding code.
++to provide whatever clean-up operations might be required by preceding code.
+ 
+ Because it is executed during a stack cleanup operation, a C<finally {}> block
+ may not cause the containing function to return, or to alter the return value

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libsyntax-keyword-try-perl.git



More information about the Pkg-perl-cvs-commits mailing list