Wednesday, June 25, 2008

Perlcritic Whines at Me

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.

No comments: