Shuck & Awe #9: Hunting for Perl
Jul 28, 2010 / By Yanick Champoux
[yanick@enkidu shuck]$ perl -MGit::Wrapper -E'say for Git::Wrapper->new(".")->show( "master:shuck-and-awe-9" )'
First this week we have John Anderson filling us up on the Perl high drama of OSCON of earlier this week. In a nutshell the organizers provided, as it’s the tradition, ribbons to the attendees, and the Perl Mongers in the crowd got one reading Desperate Perl Hacker. The epithet, coined in an XML article written in 1997, was meant in good fun, but was received with a distinct lack of glee by the Perl hackers. Which is no surprise, considering how mongers already have to fight tooth and nail to dispel the heavy baggage of preconceptions that our language accumulated throughout the years. Quite a few blog entries sprouted to discuss the whole hooplah, with Piers Cawley‘s being one of the most eloquent, explaining that, yes Virginia, Perl can, and is, often used at the 11th hour to save someone’s bacon and, consequently, has instances of code that are less than perfectly pretty. But, it’s also much more than an emergency fire extinguisher and and has flip side that consists of a strong, solid and modern ecosystem that can, and is, definitively used for bigger projects.
Buuut enough about that. Let’s return to our regular parade of technological goodies, shall we?
Perl 5.12 will issue some deprecation warnings, even if the
warnings pragma is not enabled. brian d foy walks us through them and dares us to turn them off. But before we do, he asks us to ask ourselves a very simple question. Namely, as punks, do we feel lucky? Do we?
Adam Kennedy gives us a glimpse of how his team deals with the deployment of massive Perl applications. Massive, really, you ask? 250,000 lines of Perl, spread over 750 modules, managing 100,000 physical users, with a turn over of about a billion dollars. So, yeah, massive, I say.
Hanemoku presents a few modern Perl administration tools. Some of them you might have seen in previous Shuck and Awe issues, some are new, all are good to know and have in your toolbox.
Using DBIx::Class, and your table has some horrendously huge columns that you don’t necessarily want to retrieve each time you query a row? Ovid had that problem too, and shows us how he deals with it.
Roles in Perl? They’re awesome. Chris Prather tells you why.
Git is a developer’s best friend — maybe rough at the edges, maybe grumpy, but always there to make your life easier. However, a lot of projects / companies still use Subversion for a variety of reasons (politics, legacy, not having realized we have stepped into the 21st century yet, etc.). Not to fear, as fREW discovered recently
git-svn is there to seamlessly bridge the svn mothership with your very own private satellite repository.
[yanick@enkidu shuck]$ perl -E'sleep 2 * 7 * 24 * 60 * 60 # see y'all in 2 weeks!'