Apache2-WebApp-Plugin-DBI

 view release on metacpan or  search on metacpan

usr/share/webapp-toolkit/plugin/base/DBI.tt  view on Meta::CPAN

    # stash the database object for later use
    my $dbh = $c->plugin('DBI')->connect({
        driver   => $c->config->{database_driver},
        host     => $c->config->{database_host},
        name     => $c->config->{database_name},
        user     => $c->config->{database_user},
        password => $c->config->{database_password},
      });
    
    $c->stash('DBH', $dbh);



( run in 0.727 second using v1.01-cache-2.11-cpan-5837b0d9d2c )