Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w -T
    my $HOME_DIR;
    ...
    MyApp->new(
      ,-config_file    => '/home/somename/public_html/pc/config/pc.cfg'
    )->run;
    
  2. 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      /
    
  3. or download this
    package MyApp;
    use strict;
    use base 'CGI::Application';
    ...
       $self->session->param(stuff=>$session_data);
       return $result;
    }