Category Software Engineering

Some Default Moose Coercions

Having coded in a number of programming languages, nothing makes me happier than applying ‘use Moose’ to a package in perl and then hacking.  The declarative style is really solid, and aids in writing well designed, even if not documented, libraries and tools. One issue that I’ve tried to work around a few times has […]

Perl Application Bundling

I’ve been fairly obsessed with 12 Factor Applications lately. I’ve noticed lots of tools for bundling applications with Ruby (bundler is fairly ubiquitous), and a few other major languages, but nothing so explicit with Perl. Many developers that I have worked with or talked to haven’t done application bundling in Perl, but I’m interested to […]

Serving Files with Perl/Plack

This post isn’t all that special, but it’s definitely a demo of how far Perl is coming along these days. It’s still a popular language that people have tired of complaining about, so they don’t, but everyone uses it when they need to finish something quickly. Regardless, a question was posted around my office about […]

Test Driven Development in Perl: Mocking Objects

Previously, I spoke about tests and test driven development in perl, and now I continue with discussion of MockObject and MockModule; why it’s important, and how you should use it. First, Test::MockObject creates objects with mocked class names and subroutines on the fly, skipping the normal ‘use’ and ‘bless’ processes. This is very important when […]

Test Driven Development in Perl

I recently took a class that included a lot of Test Driven Development (TDD) in Ruby, but I work at a Perl shop. As I slowly became more obsessed with the concept of TDD, especially the unit testing pieces, I discovered that available tutorials didn’t teach you what you really needed to get started – […]

Ego Driven Development

The other day, I was forwarded to a number of blog posts about Ego Driven Development, including: I got to thinking about Ego Driven Development in terms of what I do and what I’ve experienced, even in the aspect of the way I code and have coded in the past.  I’ve seen it […]

OAuth, OpenID and Software as a Service

I was recently tasked with learning and developing OAuth 1.0A and 2.0 servers, and it got me thinking about the use of OAuth when dealing with loosely coupled systems and software as a service. Having completed the task of writing an OpenID Server in the past, after I completed work on the OAuth server, I […]