---
name: "DBI::Mock"
section: "3pm"
platform: "linux"
package: "libdbi-test-perl"
version: "0.001-4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/DBI::Mock"
---

# DBI::Mock(3pm)

mock a DBI if we can't find the real one

## NAME

DBI::Mock - mock a DBI if we can't find the real one

## SYNOPSIS

```
  use DBI::Mock;
  my $dbh = DBI::Mock->connect($data_source, $user, $pass, \%attr) or die $DBI::Mock::errstr;
  my $sth = $dbh->prepare();
  $sth->execute();
  ... copy some from DBI SYNOPSIS
```

## DESCRIPTION

## AUTHOR

This module is a team-effort. The current team members are

```
  H.Merijn Brand   (Tux)
  Jens Rehsack     (Sno)
  Peter Rabbitson  (ribasushi)
  Joakim TE<0x00f8>rmoen   (trmjoa)
```

## COPYRIGHT AND LICENSE

Copyright (C)2013 - The DBI development team

You may distribute this module under the terms of either the GNU General Public License or the Artistic License, as specified in the Perl README file.
