I spent the evening playing with perlcritic, which criticizes my code based on the rules in Damian Conway's Perl Best Practices.
Every violation points to a page number, which turns out to be very useful.
Warnings come in levels: --gentle, --stern, --harsh, --cruel, and --brutal. It took me all evening to get a (very) simple Perl program to pass "brutal," but I did learn a lot.
Wednesday, June 25, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment