Write better Perl with Perl::Critic
damienlearnsperl.blogspot.com
Write better Perl with Perl::Critic
1–8 of 8 posts
Re: Write better Perl with Perl::Critic
#2Try it out at http://perlcritic.com/. The feedback is usable - when the tool finds something to complain about, it provides a link to documentation explaining what it didn't like, and the way it "should be".
Re: Write better Perl with Perl::Critic
#3[deleted]
Re: Write better Perl with Perl::Critic
#4Has someone done something similar with other languages?
Re: Write better Perl with Perl::Critic
#5I used Perl::Critic a few years ago on a contract to demonstrate the code I had written was over 90% "Perl-Critic" compliant.
For the few non compliant programs I then documented why and what could be done next (in nearly all cases these programs hadn't been refactored yet).
The client was extremely pleased. So much so he asked me to perform a program audit on the complete Perl codebase he had ;-)
Re: Write better Perl with Perl::Critic
#6Has someone done something similar with other languages?
Re: Write better Perl with Perl::Critic
#7Has someone done something similar with other languages?
For javascript: http://www.jslint.com/
Re: Write better Perl with Perl::Critic
#8Has someone done something similar with other languages?
For Python use pylint: http://pypi.python.org/pypi/pylint