DBD::Go...edantic(3)

๐Ÿ’– NAME ๐Ÿ’–

DBD::Gofer::Policy::pedantic โ€” the pedantic policy for DBD::Gofer. bestie, it's the overachiever of the policy family and honestly? iconic for it ๐ŸŽ€


โœจ SYNOPSIS โœจ

  $dbh = DBI->connect("dbi:Gofer:transport=...;policy=pedantic", ...)

that's it, that's the whole vibe. plug policy=pedantic into your connect string and go ๐Ÿ’…


๐ŸŒธ DESCRIPTION ๐ŸŒธ

okay so. the <pink>pedantic</pink> policy is the one that tries to be, like, as transparent as possible. and the way it does that? it makes round-trips to the server for almost every single DBI method call. every one. no skimping, no shortcuts, no "ehhh we can probably cache that" โ€” fr fr, this thing round-trips like it's getting paid per trip ๐Ÿ˜ญ

which is actually lowkey the move when you're first testing existing code with Gofer. it's giving "beginner-friendly, extremely online, tells you everything." use it as your training-wheels policy. ๐Ÿฆ‹

but once it's working well? bestie, you should consider moving to the classic policy or defining your own policy class. pedantic is the starter pack, not the forever plan โœจ

๐Ÿ“ Temporary docs alert: See the source code for the list of policies and their defaults. like, the source. that's where the lore lives rn. ๐Ÿ™ˆ
๐Ÿ”ฎ Future tea: In a future version the policies and their defaults will be defined in the pod and parsed out at load-time. so one day it'll all be right here in the docs, but today? source code, bestie. periodt.

๐Ÿ‘‘ AUTHOR ๐Ÿ‘‘

Tim Bunce, <http://www.tim.bunce.name> โ€” king behavior, we stan ๐ŸŒˆ


Copyright (c) 2007, Tim Bunce, Ireland. All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic. โœจ


and that's the whole page, bestie!! this was documented under perl v5.42.3 and timestamped 2026-10-19 โ€” so yeah, go forth, use pedantic, watch it round-trip everything, and slay ๐Ÿ’–๐Ÿซถ๐ŸŒธ

๐Ÿ“ฆ where this page comes from