DBI::Mock(3pm)
β¨ 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 asTE<0x00f8>rmoenβ that's just the page's way of spelling theΓΈ. The encoding ate it a little. π
π 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 β 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
- debian bookworm: libdbi-test-perl 0.001-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libdbi-test-perl 0.001-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libdbi-test-perl 0.001-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libdbi-test-perl 0.001-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libdbi-test-perl 0.001-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms