Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

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

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

Bug Information
Severity: Wishlist
Broken in: 0.02
Fixed in: 0.03



Subject: Verbose flag
A verbose flag like perlcritic would be nice on the 'use' line, especially one that supports %f. -- Chris
I'm not sure I understand. Can you explain a bit more? Thanks. -Jeff Show quoted text
> A verbose flag like perlcritic would be nice on the 'use' line, > especially one that supports %f. > -- Chris
From: cdolan [...] cpan.org
[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.
Ahhh, now I understand! I can definitely do that. BTW, how is Test::Perl::Critic working out for you? Does the configuration interface work as advertised? No one has commented on it yet, so I don't really know if it fits people's expectations. -Jeff