Embedix-DB

 view release on metacpan or  search on metacpan

DB/Pg.pm  view on Meta::CPAN

    my $class = ref($proto) || $proto;
    (@_ & 1) && croak("Odd number of parameters.");
    my %opt   = @_;

    my $dbh  = DBI->connect(@{$opt{source}}) || croak($DBI::errstr);
    my $self = {
        dbh        => $dbh,
        distro     => undef,    # hashref w/ info on current working distro
        path_cache => { },      # $path_cache->{node_id} eq $path
    };
    bless($self => $class);

    #self->workOnDistro(name => $opt{name}, board => $opt{board});
    return $self;
}

# destructor
#_______________________________________
sub DESTROY {
    my $self = shift;
    $self->{dbh}->disconnect();

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 0.629 second using v1.00-cache-2.02-grep-82fe00e-cpan-1925d2aa809 )