Mail::...cached(3pm)

πŸ’– NAME πŸ’–

Mail::MtPolicyd::Connection::Memcached β€” it's a memcached connection plugin for mtpolicyd, bestie. That's literally the whole vibe: it hooks mtpolicyd up to memcached so your policy daemon can cache stuff. Iconic behaviour, no notes. ✨


πŸŽ€ VERSION πŸŽ€

version 2.05 β€” yes queen, we're on 2.05 🫢


🌸 SYNOPSIS 🌸

okay so here's how you actually use it, copy-paste core:

<Connection memcached>
  module = "Memcached"
  servers = "127.0.0.1:11211"
  # namespace = "mt-"
</Connection>

see how namespace is all commented out? that's because it's optional and it's just sitting there waiting for you to decide. main character energy fr fr πŸ’…


πŸ¦‹ PARAMETERS πŸ¦‹

  • servers (default: 127.0.0.1:11211) β€” this is your comma separated list of memcached servers to connect to. plural. list. don't be shy, you can have more than one. πŸ“
  • debug (default: 0) β€” turn this on to debug the memcached connection. zero is the default, so it's off unless you say otherwise. not me turning it on at 2am to figure out why nothing works 😭
  • namespace (default: '') β€” set a prefix that gets used for all the keys of this connection. empty string by default, meaning no prefix, meaning your keys are just out there raw and unprotected. give them a little prefix, they deserve it πŸ’œ

πŸ‘‘ AUTHOR πŸ‘‘

Markus Benning <ich@markusbenning.de> β€” the actual legend who made this. respect. 🫢


This software is Copyright (c) 2014 by Markus Benning <ich@markusbenning.de>.

and it's free software, licensed under:

The GNU General Public License, Version 2, June 1991

periodt. that's the license. no cap. ⭐


and that's the whole page bestie!! this lil doc is part of the User Contributed Perl Documentation, it's from perl v5.38.2, and it was dated 2024-05-26. slay, bye!! πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from