crowja wrote:

Is there a dummy driver for DBI that basically does
nothing? Maybe a set of stubs so I could do something
like this:

use DBI;

 my $dbh = DBI->connect("dbi:null", "", "");
 my $sth = $dbh->prepare("SELECT * FROM mytab WHERE id = ?");
 $sth->execute(3141);
 while (my @vals = $sth->fetchrow_array()) {
   ...
 }

but nothing would really happen; simply the resolution of
the methods would be satisfied.

DBD::Example, DBD::Sponge? Both distributed with DBI itself.




--
Jonathan Leffler ([EMAIL PROTECTED], [EMAIL PROTECTED]) #include <disclaimer.h>
Guardian of DBD::Informix v2003.04 -- http://dbi.perl.org/




Reply via email to