in reply to Re: Perl DBI: Overloading statement handle
in thread Perl DBI: Overloading statement handle
I understand my question might not even make sense. I do enjoy this the more I learn it.package MyModule::Database::db; use vars qw(@ISA); @ISA = qw(DBI::db); sub prepare { my ($dbh, @args) = @_; my $sth = $dbh->SUPER::prepare(@args) or return; $sth->{private_mysubdbi_info} = { foo => 'bar' }; return $sth; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Perl DBI: Overloading statement handle
by kcott (Archbishop) on Nov 08, 2010 at 21:42 UTC | |
by sherab (Scribe) on Nov 09, 2010 at 14:38 UTC | |
|
Re^3: Perl DBI: Overloading statement handle
by sherab (Scribe) on Nov 08, 2010 at 20:35 UTC |