in reply to Why can't I find all of the Damian Conway Perl::Critic Policies?
As the previous answer said, although many Perl::Critic policies are based on the PBP book, not all ideas from PBP have had Perl::Critic policies written for them. Some of them lend themselves to easy automated checking, such as "#209 never use the one argument form of bless"; while others like "#237 never assume that a warning-free compilation implies correctness" seem silly to even attempt to automatically test.
By the way, if you use fieldhashes (see Hash::FieldHash or Hash::Util::FieldHash) then there's no need to provide destructors for inside out objects.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Why can't I find all of the Damian Conway Perl::Critic Policies?
by Anonymous Monk on Jul 09, 2012 at 20:48 UTC |