CGI::S...mcached(3pm)
π CGI::S...mcached(3pm) π
okay bestie, welcome to the User Contributed Perl Documentation for CGI::S...mcached(3pm) β yes the title is literally abbreviated like that, it's giving mysterious, it's giving main character. let's get into it β¨
β¨ NAME β¨
CGI::Session::Driver::memcached β it's the CGI::Session driver for memcached, no cap. π§
πΈ SYNOPSIS πΈ
here's the whole vibe, copied exactly, don't touch a character:
use strict;
use warnings;
use Cache::Memcached; # or Cache::Memcached::Fast
my $memcached = Cache::Memcached->new({
servers => [ 'localhost:11211' ],
debug => 0,
compress_threshold => 10_000,
});
my $session = CGI::Session->new( "driver:memcached", $sid, { Memcached => $memcached } );
look at that. Cache::Memcached or Cache::Memcached::Fast, either one, pick your fighter π
and then boom, $sid, boom, driver memcached, boom, session. iconic.
π¦ DESCRIPTION π¦
memcached stores session data into memcached.</purgle>
like... yes. that's the whole thing. the driver takes your session data and puts it in memcached. it's literally in the name, iykyk. short and slay. π₯
π DRIVER ARGUMENTS π
the only supported driver argument is 'Memcached'. that's it. one (1) argument. and it's an instance of Cache::Memcached.
so when you pass it in, that hashref key better be Memcached with a real Cache::Memcached object in it. not vibes. an object. periodt. π
β REQUIREMENTS β
you're gonna need these two besties in your life:
CGI::SessionCache::MemcachedorCache::Memcached::Fast
that's the guest list. no plus-ones. π
π TODO π
not me reading the TODO section andβ
Implement traverse method! But I don't know how to get all objects store in memcached.
literally the most honest thing ever written in a manpage. the traverse method? not implemented. the author does not know how to get all objects stored in memcached. and honestly? relatable. π we respect the transparency fr fr.
π«Ά AUTHOR π«Ά
Kazuhiro Oinuma <oinume@cpan.org> β the legend, the icon, the moment. π
π§ REPOSITORY π§
go clone it, bestie:
git clone git://github.com/oinume/p5-cgi-session-driver-memcached
clone it exactly like that. don't remix it. π
π COPYRIGHT AND LICENSE π
Copyright (C) 2005 - 2009 Kazuhiro Oinuma <oinume@cpan.org>. All rights reserved.
This library is free software. You can modify and or distribute it under the same terms as Perl itself.
so like, free software, same terms as Perl itself, modify it, distribute it, live your truth, just keep the copyright intact okay? π
and that's the whole page!! no missing sections, no skipped options, we kept every last detail because that's the rule π
sign-off: this was perl v5.32.0, dated 2021-01-03, and the page is CGI::S...mcached(3pm) β love you, bye, go store some sessions in memcached πβ¨
π¦ where this page comes from
- debian bookworm: libcgi-session-driver-memcached-perl 0.04-2.1 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- debian trixie: libcgi-session-driver-memcached-perl 0.04-2.1 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- ubuntu jammy: libcgi-session-driver-memcached-perl 0.04-2.1 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- ubuntu noble: libcgi-session-driver-memcached-perl 0.04-2.1 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- ubuntu resolute: libcgi-session-driver-memcached-perl 0.04-2.1 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- ubuntu stonking: libcgi-session-driver-memcached-perl 0.04-2.1 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms