Data::...:UUID36(3pm)
π Data::...:UUID36 π
okay bestie so this is Data::...:UUID36(3pm) β a little page from the User Contributed Perl Documentation section of your manual, and it's literally just here to explain one specific ID generator for Data::Session. it's giving very focused, very demure, very mindful. π
β¨ NAME β¨
Data::Session::ID::UUID36 β a persistent session manager π«Ά
π¦ Synopsis
See Data::Session for details.
that's it. that's the synopsis. iconic honestly. π
πΈ Description
Data::Session::ID::UUID36 lets Data::Session generate session ids using Data::UUID.
to use this module do this:
- specify an id generator of type UUID36, as in
Data::Session -> new(type => '... id:UUID36 ...')β¨
π Case-sensitive Options
See "Case-sensitive Options" in Data::Session for important information.
no cap, go read that one, it matters. π₯
π Method: new()
creates a new object of type Data::Session::ID::UUID36. it's a whole new main character. π
new() takes a hash of key/value pairs, some of which might be mandatory. further, some combinations might be mandatory. (yes, plural mandatory. the drama.)
the keys are listed here in alphabetical order.
they are lower-case because they are (also) method names, meaning they can be called to set or get the value at any time. slay.
verbose => $integerβ print toSTDERRmore or less information. typical values are0,1and2. this key is normally passed in asData::Session -> new(verbose => $integer). this key is optional. π
β Method: generate()
generates the next session id, or dies if it can't. π periodt.
the algorithm is Data::UUID -> new -> create_str.
returns the new id. π
π Method: id_length()
returns 36 because that's the number of bytes in a UUID36 digest. β¨
this can be used to generate the SQL to create the sessions table. go off, SQL.
see scripts/digest.pl.
π Support
log a bug on RT: <https://rt.cpan.org/Public/Dist/Display.html?Name=Data-Session>.
(that's the link, bestie, copy it exactly, iykyk.)
π«Ά Author
Data::Session was written by Ron Savage <ron@savage.net.au> in 2010.
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
okay that's the whole page, no notes. π this was perl v5.36.0, dated 2023-02-14, and that's the vibe check β bye bestie, go generate some UUIDs responsibly π¦β¨π
π¦ 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