DBD::BlackHole - NULL database driver for DBI
use DBI; my $dbh = DBI->connect('dbi:BlackHole:', undef, undef); # always successful $dbh->do('INSERT INTO my_table (val) VALUES (?)', undef, 'value'); # always successful my $rows = $dbh->selectall_arrayref('SELECT * FROM my_table'); # always returns empty arrayref
DBD::BlackHole is a null database driver for DBI.
This module dosen't parse/execute any query, and it fetches a empty result always.
Copyright (C) karupanerura.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
karupanerura <karupa@cpan.org>
To install DBD::BlackHole, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBD::BlackHole
CPAN shell
perl -MCPAN -e shell install DBD::BlackHole
For more information on module installation, please visit the detailed CPAN module installation guide.