Examples from the docs: my $session = new CGI::Session( "driver:MySQL", undef, {Directory=>"/tmp"} );