Author Archive
Writing 2014-04-20
Saturday, May 10th, 2014Writing 2014-04-19
Saturday, May 10th, 2014PBP: 002 Keywords
Saturday, May 10th, 2014The PBP suggests putting a space between a keyword and the opening parenthesis, to help differentiate it from a subroutine call.
This is a good idea, for good reasons.
Writing 2014-04-18
Friday, May 9th, 2014Writing 2014-04-17
Friday, May 9th, 2014Writing 2014-04-16
Friday, May 9th, 2014Writing 2014-04-15
Friday, May 9th, 2014PBP: 001 Bracketing
Thursday, May 8th, 2014The PBP suggests the venerable K&R bracer style. I don’t have a strong feeling on this.
I have used several styles over the years, and mildly prefer the Allman style, which the book calls BSD. I find the GNU style of half-indents bizarre.
Examining the book “Perl Best Practices”
Thursday, May 8th, 2014Most people who use Perl seriously have seen Damian Conway‘s book Perl Best Practices. It was, and is, an important book and has a lot of interesting discussions in it.
I don’t find all the suggestions in PBP to be useful, though. Since I’ve just been thinking about them, I thought I’d write them up. Why not go through them all?
(more…)
Module Name Conflict with Config.pm
Wednesday, May 7th, 2014At $WORK I am writing a utility to read data from a data source and write a fairly complex set of configuration files for a set of tools we use. It’s past Sysadmin 101 and into Advanced System Administration. I’ve also been given permission to write clean new Perl, and am doing several interesting things like running a code coverage analysis and keeping the code approved by perlcritic –brutal. I’m also using a GUI IDE to develop in. (more…)