Front page | perl.perl5.porters |
Postings from January 2011
[perl #81778] [PATCH] Fix typos (spelling errors) in cpan/autodie/*.
From:
perlbug-followup
Date:
January 7, 2011 01:57
Subject:
[perl #81778] [PATCH] Fix typos (spelling errors) in cpan/autodie/*.
Message ID:
rt-3.6.HEAD-5425-1294383978-1011.81778-75-0@perl.org
# New Ticket Created by (Peter J. Acklam)
# Please include the string: [perl #81778]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81778 >
---
cpan/autodie/lib/Fatal.pm | 14 +++++++-------
cpan/autodie/lib/autodie.pm | 2 +-
cpan/autodie/lib/autodie/exception.pm | 4 ++--
cpan/autodie/t/open.t | 2 +-
cpan/autodie/t/scope_leak.t | 4 ++--
5 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/cpan/autodie/lib/Fatal.pm b/cpan/autodie/lib/Fatal.pm
index 55b920b..c9021a7 100644
--- a/cpan/autodie/lib/Fatal.pm
+++ b/cpan/autodie/lib/Fatal.pm
@@ -155,7 +155,7 @@ my %Cached_fatalised_sub = ();
# Every time we're called with package scope, we record the subroutine
# (including package or CORE::) in %Package_Fatal. This allows us
# to detect illegal combinations of autodie and Fatal, and makes sure
-# we don't accidently make a Fatal function autodying (which isn't
+# we don't accidentally make a Fatal function autodying (which isn't
# very useful).
my %Package_Fatal = ();
@@ -224,7 +224,7 @@ sub import {
# Thiese subs will get unloaded at the end of lexical scope.
my %unload_later;
- # This hash helps us track if we've alredy done work.
+ # This hash helps us track if we've already done work.
my %done_this;
# NB: we're using while/shift rather than foreach, since
@@ -646,7 +646,7 @@ sub _one_invocation {
# $call if the function is CORE
# $sub if our function is non-CORE
- # The reason for this is that $call is what we're actualling
+ # The reason for this is that $call is what we're actually
# calling. For our core functions, this is always
# CORE::something. However for user-defined subs, we're about to
# replace whatever it is that we're calling; as such, we actually
@@ -697,7 +697,7 @@ sub _one_invocation {
# We need to stash $@ into $E, rather than using
# local $@ for the whole sub. If we don't then
# any exceptions from internal errors in autodie/Fatal
- # will mysteriously disappear before propogating
+ # will mysteriously disappear before propagating
# upwards.
return qq{
@@ -793,7 +793,7 @@ sub _one_invocation {
};
}
- # AFAIK everything that can be given an unopned filehandle
+ # AFAIK everything that can be given an unopened filehandle
# will fail if it tries to use it, so we don't really need
# the 'unopened' warning class here. Especially since they
# then report the wrong line number.
@@ -1141,7 +1141,7 @@ sub _make_fatal {
while ( (\$caller = (caller \$caller_level)[1]) =~ m{^\\(eval \\d+\\)\$} ) {
# If our filename is actually an eval, and we
- # reach it, then go to our autodying code immediatately.
+ # reach it, then go to our autodying code immediately.
goto &\$code if (\$caller eq \$filename);
\$caller_level++;
@@ -1200,7 +1200,7 @@ sub _make_fatal {
$Cached_fatalised_sub{$class}{$sub}{$void}{$lexical} = $installed_sub;
- # Cache that we've now overriddent this sub. If we get called
+ # Cache that we've now overridden this sub. If we get called
# again, we may need to find that find subroutine again (eg, for hints).
$Is_fatalised_sub{$installed_sub} = $sref;
diff --git a/cpan/autodie/lib/autodie.pm b/cpan/autodie/lib/autodie.pm
index 25799f0..0e96b94 100644
--- a/cpan/autodie/lib/autodie.pm
+++ b/cpan/autodie/lib/autodie.pm
@@ -251,7 +251,7 @@ The syntax:
allows the C<:default> list from a particular version to be used. This
provides the convenience of using the default methods, but the surety
-that no behavorial changes will occur if the C<autodie> module is
+that no behavioral changes will occur if the C<autodie> module is
upgraded.
C<autodie> can be enabled for all of Perl's built-ins, including
diff --git a/cpan/autodie/lib/autodie/exception.pm b/cpan/autodie/lib/autodie/exception.pm
index 4dd7570..60b30bc 100644
--- a/cpan/autodie/lib/autodie/exception.pm
+++ b/cpan/autodie/lib/autodie/exception.pm
@@ -210,7 +210,7 @@ For a string that does start with a colon, if the subroutine
throwing the exception I<does> that behaviour. For example, the
C<CORE::open> subroutine does C<:file>, C<:io> and C<:all>.
-See L<autodie/CATEGORIES> for futher information.
+See L<autodie/CATEGORIES> for further information.
=back
@@ -621,7 +621,7 @@ The C<errno> value is optional. In versions of C<autodie::exception>
current value of C<$!>, but this was unreliable and is no longer
supported.
-Atrributes such as package, file, and caller are determined
+Attributes such as package, file, and caller are determined
automatically, and cannot be specified.
=cut
diff --git a/cpan/autodie/t/open.t b/cpan/autodie/t/open.t
index 67f6f0c..81d645b 100644
--- a/cpan/autodie/t/open.t
+++ b/cpan/autodie/t/open.t
@@ -15,7 +15,7 @@ eval { open(my $fh, "< ".NO_SUCH_FILE) };
ok($@, "2-arg opening non-existent file fails");
like($@, qr/for reading/, "Well-formatted 2-arg open failure");
-unlike($@, qr/GLOB\(0x/, "No ugly globs in 2-arg open messsage");
+unlike($@, qr/GLOB\(0x/, "No ugly globs in 2-arg open message");
# RT 47520. 2-argument open without mode would repeat the file
# and line number.
diff --git a/cpan/autodie/t/scope_leak.t b/cpan/autodie/t/scope_leak.t
index 529daa3..7e420eb 100644
--- a/cpan/autodie/t/scope_leak.t
+++ b/cpan/autodie/t/scope_leak.t
@@ -2,7 +2,7 @@
use strict;
use FindBin;
-# Check for %^H leaking across file boundries. Many thanks
+# Check for %^H leaking across file boundaries. Many thanks
# to chocolateboy for pointing out this can be a problem.
use lib $FindBin::Bin;
@@ -37,7 +37,7 @@ eval {
is($@,"","Other package open should be unaffected");
# Due to odd filenames reported when doing string evals,
-# older versions of autodie would not propogate into string evals.
+# older versions of autodie would not propagate into string evals.
eval q{
open(my $fh, '<', NO_SUCH_FILE);
--
1.7.3.3
-
[perl #81778] [PATCH] Fix typos (spelling errors) in cpan/autodie/*.
by perlbug-followup