Help for this page

Select Code to Download


  1. or download this
    sub DESTROY {
        my $self=shift;
    ...
            $dbhobject = undef;
        }    
    }
    
  2. or download this
    sub new {
        my $classname = shift;
    ...
    sub DBHOBJ {
        return $dbhobject->{"dbh"};
    }
    
  3. or download this
    use Apache::DBI;
    sub DBHOBJ {
        DBI->connect("DBI:mysql:blah) or
                      die DBI::errstr;
    }