Embedix-DB
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
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 distributionview release on metacpan - search on metacpan
( run in 0.927 second using v1.00-cache-2.02-grep-82fe00e-cpan-a086c87fca4 )