Category Archives: perl programming

Perl Oasis 2012 wrapup

Last weekend I attended the Orlando Perl Workshop. While the "hallway track" is one of the best parts of Perl workshops, the talks I saw were also excellent. Here is an overview of the sessions I attended. Doing the Jitterbug Jonathan Leto (dukeleto) presented Jitterbug, a cross language continuous integration tool for git (and written [...]

Posted in perl programming | Tagged , , , | 1 Comment

Yet another taint mode reminder

Schwern just posted "How (not) To Load a Module..." that goes into great depth about the security risk in loading modules. The (not) funny thing is that none of what he's saying is a risk would be one when running in taint mode. Consider "/tmp/foo.pm" with this: Then consider this example of how Module::Load does [...]

Posted in perl programming | Tagged , , , | 11 Comments

How to find files with Path::Class::Rule

Path::Class::Rule is what you get when you imagine the love-child of Path::Class and File::Find::Rule. Here is part of the SYNOPSIS: As you can see, it has the same method-chaining of rule helpers that File::Find::Rule does. However, it's not built on top of File::Find, so you get a real, lazy iterator instead of the File::Find::Rule iterator [...]

Posted in perl programming | Tagged , , | 6 Comments

Giving thanks as thanks

Ricardo wrote an article "promoting little gifts", which @perlbuzz tweeted as "giving little gifts as thanks". I like that idea, and it inspired me to remind people to please also consider just giving "thanks", too. Sure, I'd love a song or a small ebook (and maybe I should set up a wishlist), but I also [...]

Posted in perl programming | Tagged , , | 5 Comments

Code munging with vim: if modifier to if block

Not infrequently, I discover I want to turn an if modifier into an if block so I can add extra logic when the conditional is true. I decided to automate that with a vim macro: For it to work, the if modifier has to be on a line of its own (which I usually do [...]

Posted in perl programming | Tagged , , , | Leave a comment

© 2009-2012 David Golden All Rights Reserved