Perl

Perl advent calendar 2014 kristof Mon, 12/15/2014 - 20:07
Topics

Holy chestnuts ! I almost forgot to mention the Perl advent calender 2014, your source of lesser known Perl modules. What CPAN modules would Santa use this year to deliver all our presents ?

Perl advent calendar 2013 kristof Mon, 12/02/2013 - 10:06
Topics

Christmas is coming soon, also in camel land : make way for the Perl advent calendar 2013.

Perl advent calendar 2012 kristof Tue, 12/04/2012 - 12:18
Topics

Do I smell roasted chestnuts & gluhwein ? Then it's time for the Perl advent calendar of 2012 !

Perl advent calendar 2011 kristof Fri, 12/02/2011 - 16:14
Topics

Dark days and the smell of rotting pumpkins ? It's that time of the year again : here's the Perl Advent calendar 2011 !

Perladvent 2010 kristof Wed, 12/01/2010 - 20:40
Topics

Does Christmas reminds you of snowy weather, eggnog and turkeys ? Not here with us ! We rejoice every year in the arrival of the Perl Advent calendar, this year again also in a Perl6 edition.

Perladvent 2009 kristof Wed, 12/02/2009 - 07:43
Topics

It's nearly Christmas, so it's time for the Perl Advent Calendar.
And this year, there's some competition around the corner, targeted at the Perl 6 adepts.

Secret Perl operators kristof Mon, 11/30/2009 - 19:53
Topics

The 'Goatse Operator' isn't a nurse with slight sadomasochistic inclinations, but one of the secret Perl operators.

Perl5-to-6 sessions kristof Wed, 01/07/2009 - 21:38
Topics

Perlgeek.de has some articles on the transition from Perl5 to Perl6, while clearly explaining the differences between those versions. Very interesting, not only for a Perl6 introduction, but the articles also learnt me some new Perl tricks I didn't master yet.

Speaking of Perl, it keeps amazing me what someone can do with this language. In our new TSM version, IBM changed the web frontend to a full blown Websphere application, called ISC, with of course its own user database, different from the one in TSM, and kept in an unaccessible format. That's a big problem in an organisation which has about 150 TSM operators. We almost feared that this would end up in a manual definition of those people. It was there that I grabbed the documentation from WWW::Mechanize, which I discovered during my Test::More enlightenment. Within two hours, I had hacked up a Perl script which pulled all info about the operators from TSM, and entered them automagically in ISC.

Love this stuff !

Automated testing in Perl kristof Wed, 12/24/2008 - 10:22
Topics

Testing ! Is there anything sexier than program testing ? Apart from 3D gaming development, cloud computing, automated Kickstart installation, high-performance clustering, Rails development, etc ? Okay, testing is even more boring than writing documentation, but fact is that we, humans, don't like testing, but computers love this type of bandwork. And testing is necessary : adding little changes to other people's programs, break them in the most horrible ways.

I've learnt this the hard way.

A serious bug in one of our backup clients forced me to upgrade the package. No problem, just dropping the new binary in the package, relabel everything, and build the thing. Not a good idea for a package that wasn't released for over 18 months, and passed through 4 different responsible teams. The postinstall was a 300 line spaghetti mess, which in the end I ended up rewriting half of it. And still more and more bugs kept popping up, which left me terribly ashamed.
I needed a way to test automatically all of the outputs of the postinstall, and at the same time to check if all configuration files were created correctly, and if the program was able to connect automagically to the backup server.

So I decided to have a look at Test::More, and delve into the documentation, and try to write some test scripts myself. Boy, was I pleasantly surprised (as allways with Perl, but this aside) ! Within one hour, I had a test written which checked all of this stuff automatically, and even discovered 4 more bugs in the output. Needless to say that since now, I'm addicted to testing my programs.

Perladvent 2008 kristof Thu, 12/04/2008 - 15:29
Topics

It's december, so time again for the Perl advent calendar 2008 !