Mail::SRS::DB(3pm)
π Mail::SRS::DB β the manual page, but make it cute π
okay bestie, gather round, because we're talking about Mail::SRS::DB β a MLDBM based Sender Rewriting Scheme, living its best life over in section 3pm of the Perl docs π«Ά
β¨ NAME β¨
Mail::SRS::DB β a MLDBM based Sender Rewriting Scheme π
β¨ SYNOPSIS β¨
look at her, she's gorgeous:
use Mail::SRS::DB;
my $srs = new Mail::SRS::DB(
Database => '/var/run/srs.db',
...
);
that's it. that's the whole vibe check. instantiate and go πΈ
β¨ DESCRIPTION β¨
so, for the full deets on the standard SRS subclass interface, you're gonna wanna peek at Mail::SRS β she's the blueprint, this one is the glow-up β¨
this module is the one that hands you two methods, and they're literally the whole point:
compile()β does the compile thing πparse()β does the parse thing π¦
also!! important!! she needs one extra parameter in the constructor β a filename for a Berkeley DB_File database. like the /var/run/srs.db from the synopsis up there. no filename, no database, no SRS. periodt. π
β¨ BUGS β¨
okay so, real talk, nobody's perfect and this module knows it π
this code relies on not getting collisions in the cryptographic hash. it can and should be fixed. (not me saying the words "should be fixed" in the actual docs π iconic honesty honestly)
also:
the database is not garbage collected. she just. keeps. growing. π
β¨ SEE ALSO β¨
Mail::SRSβ go read her, she's the moment π
that's the whole page bestie, no notes π
so yeah, this manual page was brought to you by perl v5.36.0, dated 2022-11-27, and it's the Mail::SRS::DB(3pm) page β slay, go forth, rewrite your senders π§β¨
π¦ where this page comes from
- debian bookworm: libmail-srs-perl 0.31-9 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libmail-srs-perl 0.31-9 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libmail-srs-perl 0.31-9 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libmail-srs-perl 0.31-9 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libmail-srs-perl 0.31-9 Β· 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