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