Aargh. Ignore all the above. For some insane reason I was using Dir instead of Directory in the session_config inside the CGI::Application version. Still... was great opportunity to really get to grips with the module :)