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.

- John



Reply via email to