Data::...:Driver(3pm)
π Data::Session::Driver β the parent of ALL the session drivers π
okay bestie, so this is Data::Session::Driver, from the User Contributed Perl Documentation section (that's what the 3pm on the end is giving β¨). It's the manual page for the parent module that every single Data::Session::Driver::* module inherits from. She's the momager of the whole driver family, and honestly? iconic. π
πΈ NAME πΈ
Data::Session::Driver β a persistent session manager π
π¦ Synopsis π¦
Like, the synopsis is not here, babe. Go look at Data::Session for the details:
See Data::Session for details.
That's it. That's the synopsis. She's mysterious. She's lowkey gatekeeping. π
β¨ Description β¨
Data::Session::Driver is the parent of all Data::Session::Driver::* modules. Think of her as the mother of dragons but for session storage backends. Every driver out there is one of her children and they all inherit her whole vibe. π
π Case-sensitive Options π
There's important info about case-sensitive options, but it does not live here. Nope. Go read "Case-sensitive Options" in Data::Session β that's where the tea is. β
π Method: new() π
Creates a new object of type Data::Session::Driver. Fresh baby driver, brand new, no cap. π±
new() takes a hash of key/value pairs, some of which might be mandatory. And heads up β some combinations might be mandatory too. So like, you can't just throw random keys in there and hope for the best, bestie. Read the docs for your specific driver. π
π₯ Method: remove($id) π₯
Deletes from storage the session identified by $id, or dies if it can't. It's giving "you either delete this session or this whole program ends," and honestly, respect the drama. π
Returns 1.
β Method: retrieve($id) β
Retrieves from storage the session identified by $id, or dies if it can't. Same energy as remove(), just the opposite direction. π«Ά
Returns the session.
β οΈ Important!! This is a frozen session. This value must be thawed by calling the appropriate serialization driver's thaw() method. Do not try to use a frozen session directly, she is literally on ice. π§
Good news though: Data::Session calls the right thaw() automatically. So you don't have to do it yourself, but now you know it's happening behind the scenes, iykyk. β¨
π Support π
Found a bug? Log it on RT, bestie:
<https://rt.cpan.org/Public/Dist/Display.html?Name=Data-Session>
That's the link. Go click it. Let them know. π
π Author π
Data::Session was written by Ron Savage <ron@savage.net.au> in 2010. Legend behavior. π
Home page: <http://savage.net.au/index.html>.
π Copyright π
Australian copyright (c) 2010, Ron Savage.
All Programs of mine are 'OSI Certified Open Source Software';
you can redistribute them and/or modify them under the terms of
The Artistic License, a copy of which is available at:
http://www.opensource.org/licenses/index.html
and that's the whole page, babe!! no sections skipped, no details dropped, every single fact preserved and slathered in glitter. π
perl v5.36.0 β 2023-02-14 π« mwah, catch you in the next manpage, bestie ππ¦π
π¦ where this page comes from
- debian trixie: libdata-session-perl 1.18-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libdata-session-perl 1.18-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libdata-session-perl 1.18-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libdata-session-perl 1.18-2 Β· 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