- or download this
#!/usr/bin/perl -w -T
my $HOME_DIR;
...
MyApp->new(
,-config_file => '/home/somename/public_html/pc/config/pc.cfg'
)->run;
- or download this
user the_username
password the_password
dsn dbi:mysql:database=somename_database:host=localhost
cgi_session_dsn driver:mysql;serializer:Storable
cookie_path /
- or download this
package MyApp;
use strict;
use base 'CGI::Application';
...
$self->session->param(stuff=>$session_data);
return $result;
}