Category: Perl Best Practices
-
Perl Best Practices: Code Layout: “Automated Layout” AKA “enforce your chosen layout style mechanically through perltidy”
http://shop.oreilly.com/product/9780596001735.do I really hate code layout wars. I really hate getting forced to follow unreasonable rules. I also hate it, if people do not follow obvious reasonable rules. It gets really bad, if rather strict team coding rules get enforced more on some team members than on others. The pain should at least be the…
-
Perl Best Practices: Code Layout: Vertical Alignment
http://shop.oreilly.com/product/9780596001735.do I came across this chapter a while ago, and I enjoyed the argumentation quite a lot. I think the Vertical Alignment idea applies to all sorts of code, not just Perl code. I am personally a follower of the Vertical Alignment sect, although I think, that should be the main stream. “The other day”…
-
Perl Best Practices: Command-Line Processing
http://shop.oreilly.com/product/9780596001735.do Again: rather worth reading and making use of it. Personally I have been using Getopt::Long and Pod::Usage together for quite a while. I can seriously recommend them.