DBI::Mock(3pm)

πŸ“¦
version 0.001 Β· 2 versions
  • 0.001 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 0.001 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

✨ NAME ✨

DBI::Mock β€” mock a DBI if we can't find the real one πŸ’…

That's literally the whole pitch, bestie. It's the DBI::Mock(3pm) manual page, in case you were wondering which doc you just opened. πŸ¦‹


🌸 SYNOPSIS 🌸

Okay so here's how you'd actually use it:

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

Yeah β€” that last line is doing a lot of heavy lifting, and honestly, same. 😭


πŸ’… DESCRIPTION πŸ’…

Not me having to tell you this... but this section is empty in the original. Zero words. Nothing. It's giving minimalist main character energy. πŸ™ˆ

So there's no hidden lore to spill here, no extra behaviour to explain, no cap. What you see in the SYNOPSIS is what you get. 🫢


πŸ‘‘ AUTHOR πŸ‘‘

This module is a team-effort β€” no solo act, it's a whole squad. πŸ’– The current team members are:

  H.Merijn Brand   (Tux)
  Jens Rehsack     (Sno)
  Peter Rabbitson  (ribasushi)
  Joakim TΓΈrmoen   (trmjoa)
Heads up: in the raw page that last name is written as TE<0x00f8>rmoen β€” that's just the page's way of spelling the ΓΈ. The encoding ate it a little. πŸ’€

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 β€” your pick, both are valid, it's giving choose-your-own-license-adventure. The exact wording lives in the Perl README file, so go peek there if you want the full legal tea. πŸ“„


And that's the whole page, bestie. This one's perl v5.36.0, dated 2022-11-19, and it lives at DBI::Mock(3pm). Go forth and mock responsibly. πŸ’œβœ¨

πŸ“¦ where this page comes from