Pages for perl Tag

XML::Twig for Large XML Files in Perl

November 20, 2008 This week I needed to rewrite a Perl script that used XML::Simple for some XML handling. The cause? The script it needed to parse grew from 13k to 80 megs. All of the sudden the in memory approach wasn't looking so hot.

Filed under perl

Intro to HTTP::Server::Simple::CGI

December 5, 2008 A quick introduction to using HTTP::Server::Simple::CGI, which is a helpful Perl module on CPAN for creating a standalone web server.

Filed under perl

XML::Simple for Non-Perlers

November 8, 2008 A brief introduction with thorough examples for people who don't really know Perl, but need to use Perl to write a task that uses XML.

Filed under perl

Prevent Cron Cancer With a File-based Mutex

December 3, 2008 For a recent work task I used the file-based mutex technique to prevent a Cron script from running two copies simultaniously. Although incredibly basic, I think it's a nice trick to add to the old toolbox.

Filed under perl