Help for this page

Select Code to Download


  1. or download this
    package My::DBI::Config;
    use base qw/Class::DBI/;
    My::DBI::Config->set_db { ...
    
  2. or download this
    package My::DBI;
    use base qw(My::DBI::Config);
    
  3. or download this
         Give it a database connection
               Class::DBI needs to know how to access the database.  It do
    +es this
    ...
    
               By setting the connection up in your application base class
    + all the
               table classes that inherit from it will share the same conn
    +ection.