The Joy of Finding Your Code in Unexpected Places
picture by Geophaps
Hey, that one in the sixth row…
Doesn’t he looks familiar?
So there I am, on my morning bus ride, reading my copy of The Definitive Guide to Catalyst (keep your eyes peeled for the upcoming review of the book in the Perl Review).
I’m near the end, in Chapter 11, Catalyst Cookbook. As it is with most tech books, the last chapters are the most engrossing, as the gloves finally come of and the writers throw at you all the wonderful, mind-bending stuff that the rest of the book prepares you for.
The section I’m at is about the development process. Specifically, it shows how you can put hooks in your versioning system to automatically screen commits to conform to Perl::Critic and Perl::Tidy policies. The given example script uses Git, which is just dandy with me as it is my current VCS of choice. But there’s something . . . funny about that script. The way the utility functions are stashed at the end after a
### utility functions ##############################
line. The choice of variable names. The comments. It all feels oddly familiar. Read the rest of this entry . . .
