summaryrefslogtreecommitdiff
path: root/cpan/Params-Check
diff options
context:
space:
mode:
authorPeter J. Acklam <pjacklam@online.no>2011-01-06 23:10:05 -0800
committerChris 'BinGOs' Williams <chris@bingosnet.co.uk>2011-01-07 11:15:11 +0000
commitda827d7577b10aa5ee5d091b5f1e6a90a3adefaa (patch)
tree3c72af656db7148da315b05ae0a207c1394988b3 /cpan/Params-Check
parenteadbb00ba52ffc893df754bb2e0166b43b067c4d (diff)
downloadperl-da827d7577b10aa5ee5d091b5f1e6a90a3adefaa.tar.gz
Fix typos (spelling errors) in cpan/Params-Check/*.
# New Ticket Created by (Peter J. Acklam) # Please include the string: [perl #81844] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81844 > Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
Diffstat (limited to 'cpan/Params-Check')
-rw-r--r--cpan/Params-Check/lib/Params/Check.pm6
-rw-r--r--cpan/Params-Check/t/01_Params-Check.t4
2 files changed, 5 insertions, 5 deletions
diff --git a/cpan/Params-Check/lib/Params/Check.pm b/cpan/Params-Check/lib/Params/Check.pm
index 7348cbc0d7..7ffe23c31a 100644
--- a/cpan/Params-Check/lib/Params/Check.pm
+++ b/cpan/Params-Check/lib/Params/Check.pm
@@ -359,7 +359,7 @@ sub check {
### we have the fatal flag toggled.
croak(__PACKAGE__->last_error) if ($wrong || $warned) && $WARNINGS_FATAL;
- ### done with our loop... if $wrong is set, somethign went wrong
+ ### done with our loop... if $wrong is set, something went wrong
### and the user is already informed, just return...
return if $wrong;
@@ -435,7 +435,7 @@ sub allow {
### loop over the elements, see if one of them says the
### value is OK
- ### also, short-cicruit when possible
+ ### also, short-circuit when possible
for ( @{$_[1]} ) {
return 1 if allow( $_[0], $_ );
}
@@ -629,7 +629,7 @@ the user input to lowercase, but instead expect them to be in the
case the template provided. This is useful when you want to use
similar keys with different casing in your templates.
-Understand that this removes the case-insensitivy feature of this
+Understand that this removes the case-insensitivity feature of this
module.
Default is 0;
diff --git a/cpan/Params-Check/t/01_Params-Check.t b/cpan/Params-Check/t/01_Params-Check.t
index 06f3048b50..c0ff79c36f 100644
--- a/cpan/Params-Check/t/01_Params-Check.t
+++ b/cpan/Params-Check/t/01_Params-Check.t
@@ -244,7 +244,7 @@ use constant TRUE => sub { 1 };
my $text = "Key 'foo' ($val) is of invalid type";
my $re = quotemeta $text;
- ok(!$rv, "check() fails with unalllowed value" );
+ ok(!$rv, "check() fails with unallowed value" );
like(last_error(), qr/$re/, " $text" );
}
}
@@ -348,7 +348,7 @@ use constant TRUE => sub { 1 };
"right caller with CALLER_DEPTH" );
}
-### test: #23824: Bug concering the loss of the last_error
+### test: #23824: Bug concerning the loss of the last_error
### message when checking recursively.
{ ok( 1, "Test last_error() on recursive check() call" );