[THALJEF - Tue Oct 11 16:33:23 2005]:
Show quoted text> I'm not sure I understand. Can you explain a bit more? Thanks.
>
> -Jeff
>
> > A verbose flag like perlcritic would be nice on the 'use' line,
> > especially one that supports %f.
> > -- Chris
>
>
Sure, sorry.
The latest Perl::Critic wrapper perlcritic has a -verbose flag that lets
you tweak the output style. This is nice. I'd like it if I could also
change the diagnostic output from Test::Perl::Critic similarly. Like
this, perhaps:
use Test::Perl::Critic (-verbose =>
"[%p] %f\n%m at line %l, column %c");
I'm currently working around like this:
local $Perl::Critic::Violation::FORMAT = "[%p] %m at %l,%c";
use Test::Perl::Critic;
all_critic_ok();
The current FORMAT doesn't support %f, as you've noted in perlcritic's docs.