Finally got the 'code' section up and running. Ironically the only code snippets currently there are the ones I wrote to generate the page... as tom said they would have taken far less time to write if I'd read through some of the existing perl modules and used libraries.