logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

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)

Description

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

See Also