Category: Perl

Perl code

error handling and closures in Perl

Error handling I’ve never been totally happy with how I do error handling, in any language. I’ve always favoured calling a function and returning a simple scalar value that determines whether an error happened or not. Perhaps this dates back

Google Calendar API v3 perl access

The problem Recently I was asked if I could answer why an on-line booking system using Google Calendar no longer worked. It turns out that the API it was using was shutdown on Nov 17.  According to  Google Developer “This API

dynamically loading optional Perl modules

Recently I tweaked some code of mine that dynamically loads optional Perl modules.  Two words should stick out.  dynamically and optional.  So why would you want to do this?  Well, you may have a program with acceptable default behaviour that

Living without WSDL files in a SOAP infested world

The problem About five years ago, I had a requirement of developing a SOAP (Simple Object Access Protocol) service on some Linux systems. It was actually a SOAP interface needed to an existing service which till then was fielded by