Man pages sections > man3 > DBI::Mock

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

DBI::Mock(3pm) User Contributed Perl Documentation DBI::Mock(3pm)

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 (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.
2013-08-05 perl v5.18.2