strictures reviews

RSS | Module Info | Add a review of strictures

strictures (1.004004) *****

strictures is sort of dual-use: in typical usage (on your users' systems, for example), it is effectively the same as "use strict; use warnings FATAL => 'all'" -- but if it appears code is being run from a development repository (or if extra tests are explicitly enabled), you also get indirect object syntax, bareword filehandle, and multidimensional array ("I meant to type @hash{1,2} not $hash{1,2}") checks.

Pros: This has saved me from myself and others more than once.

Cons: Fatal-by-default warnings are a con for some people. You may need to think a little harder about which warnings you care about. Sometimes perl warns for some silly stuff, and that can change from one version to the next.