Re: Choosing Class::DBI::(mysql|SQLite|*) classes at runtime
[prev]
[thread]
[next]
[Date index for 2004/07/07]
Sebastian Willert wrote:
> Hi all,
>
> I've been using Class::DBI::mysql->set_up_table all over the code for
> one of my modules which worked excellent until I started to write unit
> tests for this module. For obvious reasons I don't want to access a
> mysql server and don't want to change the code of the modules to use
> Class::DBI::SQLite instead. I searched a bit but didn't find any
> suggestion how to provide dynamic base-class choosing.
Did you look at Class::DBI::BaseDSN?
http://search.cpan.org/~rclamp/Class-DBI-BaseDSN-1.22/lib/Class/DBI/BaseDSN.pm
 |
 |
Re: Choosing Class::DBI::(mysql|SQLite|*) classes at runtime
Stuart Johnston 15:48 on 07 Jul 2004
|