5 minimums for any perl script?
telcodev at gmail.com
Sun Jan 29 23:34:06 GMT 2012
>> So if Perl Best Practices is too much, and you could only have 5 rules
>> for any perl script, what would they be?
> 3. Strictures: Always 'use strict' (and 'use warnings' during development) and
> explicitly state your minimum Perl version requirement. (e.g. 'use v5.10')
> [Ch18: "Strictures", "Warnings"]
I will agree with always 'use strict', I have never [yet] had to not
'use warnings' AFTER development.
Explicitly stating minimum Perl version requirement does not rise to
the same level of concern as 'use strict' and 'use warnings'. How
often do you regression test to know the minimum Perl version
Grateful for the lessons in BPB in any event.
[Joseph] Christian Werner Sr
More information about the london.pm