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: 24876
Status: resolved
Priority: 0/
Queue: Perl-Critic

People
Owner: Nobody in particular
Requestors: sabol [...] alderaan.gsfc.nasa.gov
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.01
Fixed in: 1.03



Subject: %f and %F escapes not working in custom "verbose" format strings
Executing the command Show quoted text
> perlcritic -verbose "[%f]\n" Foo.pm
should print [Foo.pm] for each criticism found in Foo.pm. Instead, it prints [] The %F escape is even worse off. Specifying a %F escape results in errors like the following: Show quoted text
> perlcritic -verbose "[%p][%F]\n" Foo.pm
fileparse(): need a valid pathname at /usr/contrib/lib/perl5/site_perl/5.8.0/Perl/Critic/ Violation.pm line 196 main::critique('HASH(0x8306328)','Foo.pm') called at /usr/contrib/bin/perlcritic line 42 main::run() called at /usr/contrib/bin/perlcritic line 34
This has been fixed in version 1.03. Thanks for the bug report! -Jeff