in reply to DBI Can't call method "close" during global destruction
sub DB_connect { my $self = shift; $self->{dbh} = DBI->connect( DBI_STRING ) || die "Cannot connect: $DBI::errstr\n"; } sub DB_finish { my $self = shift; $self->{dbh}->disconnect; }
--------> SV* sv_bless(SV* sv, HV* stash);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: DBI Can't call method "close" during global destruction
by Marcello (Hermit) on Mar 24, 2003 at 14:15 UTC |