Skip Menu |

This queue is for tickets about the Params-Util CPAN distribution.

Report information
The Basics
Id: 86356
Status: resolved
Priority: 0/
Queue: Params-Util

People
Owner: Nobody in particular
Requestors: dsteinbrunner [...] pobox.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.07
Fixed in: (no value)



Subject: typo fixes
Params/Util.pm 143: conveince -> convenience 274: convience -> convenience 295: convience -> convenience 318: convience -> convenience 322: validy -> valid 733: existance -> existence
From: paul [...] liekut.de
On Sun Jun 23 10:32:06 2013, dsteinbrunner@pobox.com wrote: Show quoted text
> Params/Util.pm > 143: conveince -> convenience > 274: convience -> convenience > 295: convience -> convenience > 318: convience -> convenience > 322: validy -> valid > 733: existance -> existence
attached is a patch which corrects these typos. Cheers, Paul
Subject: 0001-lib-correcting-typos-mentioned-in-RT-86356.patch
From e030ef08f3664c1a6d881b8540a1056ad5df4c2b Mon Sep 17 00:00:00 2001 From: Paul Cochrane <paul@liekut.de> Date: Thu, 29 May 2014 00:48:44 +0200 Subject: [PATCH] [lib] correcting typos mentioned in RT#86356 --- lib/Params/Util.pm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/Params/Util.pm b/lib/Params/Util.pm index 9a40e59..b42976c 100644 --- a/lib/Params/Util.pm +++ b/lib/Params/Util.pm @@ -140,7 +140,7 @@ C<'0'> false negative case, but will return it. Please also note that this function expects a normal string. It does not support overloading or other magic techniques to get a string. -Returns the string as a conveince if it is a valid string, or +Returns the string as a convenience if it is a valid string, or C<undef> if not. =cut @@ -271,7 +271,7 @@ a number. That is, it is defined and perl thinks it's a number. This function is basically a Params::Util-style wrapper around the L<Scalar::Util> C<looks_like_number> function. -Returns the value as a convience, or C<undef> if the value is not a +Returns the value as a convenience, or C<undef> if the value is not a number. =cut @@ -292,7 +292,7 @@ The C<_POSINT> function is intended to be imported into your package, and provides a convenient way to test to see if a value is a positive integer (of any length). -Returns the value as a convience, or C<undef> if the value is not a +Returns the value as a convenience, or C<undef> if the value is not a positive integer. The name itself is derived from the XML schema constraint of the same @@ -315,11 +315,11 @@ package, and provides a convenient way to test to see if a value is a non-negative integer (of any length). That is, a positive integer, or zero. -Returns the value as a convience, or C<undef> if the value is not a +Returns the value as a convenience, or C<undef> if the value is not a non-negative integer. As with other tests that may return false values, care should be taken -to test via "defined" in boolean validy contexts. +to test via "defined" in boolean valid contexts. unless ( defined _NONNEGINT($value) ) { die "Invalid value"; @@ -730,7 +730,7 @@ bit fuzzy, so this function is likely to be somewhat imperfect (at first anyway). That said, it is implement as well or better than the other file handle -detectors in existance (and we stole from the best of them). +detectors in existence (and we stole from the best of them). =cut -- 1.7.10.4
Fixed in next release