NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
perlcritic-fly.el???? (Score:1)
I'm thinking that just autoadding lib/, t/, uh... t/lib would be spiffy. Perhaps with some dwimmery to notice if those directories can be found by navigating up the directory tree:
~jjore/src/Foo-Bar/t$
Maybe there oughta be som
Re:perlcritic-fly.el???? (Score:1)
Putting aside the argument about compiling untrusted code, you should be able to get the effect you want by putting "use criticism;" at the top of your script. In the latest release of criticism.pm, we changed the default output format to look exactly like the perl's native compiler warnings. So when you run "perl -c SomeFile.pm" the Perl::Critic warnings blend right into the compiler warnings. For a while, this was how the EPIC guys were integrating with Perl::Critic.
If you're able to get flymake-mode working, please let me know if the "use criticism;" trick actually works.
-Jeff
Reply to This
Parent
Re: (Score:1)
Re: (Score:1)
-Jeff
Re: (Score:1)
Re: (Score:1)
Perhaps we could repurpose the flymake code and just substitute "perlcritic" where it says "perl -c". But your lisp skills are far better than mine.
-Jeff
Re: (Score:1)