views:

393

answers:

1

I'm running eclipse Galileo with EPIC 0.5.46 and ActiveState ActivePerl 5.10.0, on WinXP SP3.

I just downloaded Perl::Critic using the package manager, and integrated it to eclipse using the appropriate Properties page.

I can run Perl::Critic just fine from my eclipse source context menu; it runs. But it doesn't put any markers in my source code in eclipse... in other words, I can't see its results. (My Perl ain't that good.)

Please, if you tell me to RTFM, please point out which FM to R. Thanks for any pointers.

+3  A: 

See this section in the Perl::Critic man page. Until I discovered this note, I lived happily in the delusion that my code was good enough to pass Perl::Critic. And then I installed criticism only to discover the truth :)

You need to add the line use criticism 'gentle'; at the top of your code. Change gentle to brutal if that suits you. Running the script or module inside EPIC then shows Perl::Critic's comments in the console below the code pane.

My EPIC version is 0.6.35 BTW. I use Linux. See last section in this thread for a possible solution with Windows

Gurunandan
I saw that epic thread; I was hoping somebody had puzzled this out. Guess it's my turn to puzzle something out and post a clear answer. Thanks.
Ollie Jones
If that does not work out, there is always 'use criticism'
Gurunandan