Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Perl-Critic CPAN distribution.

Report information
The Basics
Id: 15031
Status: resolved
Priority: 0/
Queue: Perl-Critic

People
Owner: thaljef [...] cpan.org
Requestors: chris+rt [...] chrisdolan.net
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 0.12
Fixed in: 0.13



Subject: Trivial spelling fixes
Attached is a patch against v0.12 that fixes a couple of documentation typos. --Chris
diff -Nur Perl-Critic-0.12-orig/Changes Perl-Critic-0.12-spelling/Changes --- Perl-Critic-0.12-orig/Changes 2005-10-11 03:43:50.000000000 -0500 +++ Perl-Critic-0.12-spelling/Changes 2005-10-11 12:44:59.000000000 -0500 @@ -2,13 +2,13 @@ Re-designed the 'verbose' feature. Now the output format can be user-defined using a sprintf-like specification. - perlciritc also has a predefined output format that is + perlcritic also has a predefined output format that is compatible with grep mode in editors like vim and emacs. 'return' is now exempt from ProhibitParensWithBuiltins. I may extend this exemption to all unary functions. - Edited POD. Added a super breif description of each policy + Edited POD. Added a super brief description of each policy in the main Perl::Critic documentation. Added details about editor integration. @@ -22,7 +22,7 @@ See the POD in Perl::Critic::Policy for details. New Features: - * Added -vebose option to put more stuff in the output. In the + * Added -verbose option to put more stuff in the output. In the extreme, you can get the POD from Policy attached to each and every violation. @@ -48,7 +48,7 @@ Fixed several bugs: * 14810: Now you are allowed to create your own 'import' function, since this is frequently done with fancy modules. - * 14817: Parens, brackets, and braces are now exluded from + * 14817: Parens, brackets, and braces are now excluded from 'ProhibitNoisyQuotes' since they look better in quotes anyway. * 14787: $1..$9 and '_' are exempt from ProhibitPunctuationVars * 14899: Object methods with the same name as a built-in can diff -Nur Perl-Critic-0.12-orig/bin/perlcritic Perl-Critic-0.12-spelling/bin/perlcritic --- Perl-Critic-0.12-orig/bin/perlcritic 2005-10-11 03:57:55.000000000 -0500 +++ Perl-Critic-0.12-spelling/bin/perlcritic 2005-10-11 13:08:04.000000000 -0500 @@ -92,7 +92,7 @@ my $fmt = $verbosity =~ m/^[+-]?\d+$/ ? ($FORMAT_OF{$verbosity} || $FORMAT_OF{2}) : $verbosity; - $fmt =~ s/\%f/$file/g; #HACK! Vilation objects don't know the file name + $fmt =~ s/\%f/$file/g; #HACK! Violation objects don't know the file name local $Perl::Critic::Violation::FORMAT = $fmt; ## no critic for (@violations) { print "$_\n" } diff -Nur Perl-Critic-0.12-orig/lib/Perl/Critic/Policy/ControlStructures/ProhibitCStyleForLoops.pm Perl-Critic-0.12-spelling/lib/Perl/Critic/Policy/ControlStructures/ProhibitCStyleForLoops.pm --- Perl-Critic-0.12-orig/lib/Perl/Critic/Policy/ControlStructures/ProhibitCStyleForLoops.pm 2005-10-10 22:21:01.000000000 -0500 +++ Perl-Critic-0.12-spelling/lib/Perl/Critic/Policy/ControlStructures/ProhibitCStyleForLoops.pm 2005-10-11 12:45:54.000000000 -0500 @@ -42,7 +42,7 @@ =head1 DESCRIPTION -The 3-part C<for> loop that Perl inherits from C is but-ugly, and only +The 3-part C<for> loop that Perl inherits from C is butt-ugly, and only really necessary if you need irregular counting. The very Perl-ish C<..> operator is much more elegant and readable.