Cataly...legate(3pm)
π Cataly...legate(3pm) π
ok so this is a page from the User Contributed Perl Documentation corner of the manual-verse, and yes the title is literally abbreviated like that because Catalyst::Plugin::Session::Store::DBIC::Delegate is a whole mouthful and the man page header simply gave up. bestie, same.
β¨ NAME β¨
Catalyst::Plugin::Session::Store::DBIC::Delegate β delegates between the session and flash rows π
πΈ DESCRIPTION πΈ
okay so picture this: for any given session, there are two rows chillin' in your sessions table β one is the session row and one is the flash row. This class is the little go-between that delegates between those two rows. Not me being the middleman π .
And why, you ask? For compatibility with Catalyst::Plugin::Session::Store::DBI. That's the whole reason. It's giving "we did this for the ancestors." π«Ά
π¦ METHODS π¦
π session
Return the session row for this delegate. that's it, that's the method.
π flash
Return the flash row for this delegate. queen of knowing which row is which.
π _load_row
Load the specified session or flash row from the database. It's a lil wrapper around "find_or_create" in DBIx::Class::ResultSet, and the whole point of the wrapper is to add support for transactions. very "I'm just here to enable transactional behaviour" of it β¨.
π expires
Return the expires row for this delegate. And here's the tea: just like with Catalyst::Plugin::Session::Store::DBI, this maps to the "session" row. no separate expires row, it's the session row wearing a different hat π.
π flush
Update the session and flash data in the backend store. go off, persistence π .
π _clear_instance_data
Remove any references held by the delegate. letting go is self care π§.
π AUTHOR π
Daniel Westermann-Clark <danieltwc@cpan.org> π
β COPYRIGHT β
Copyright 2006-2008 Daniel Westermann-Clark, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. open source icon behaviour, no cap π
and that's the whole page, bestie! π sign-off time: this beauty comes from perl v5.34.0 and it was dated 2022-06-09, and the header/footer kept saying Cataly...legate(3pm) because apparently even the man page format wasn't ready for that full name. periodt. πβ¨
π¦ where this page comes from
- debian bookworm: libcatalyst-plugin-session-store-dbic-perl 0.14-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libcatalyst-plugin-session-store-dbic-perl 0.14-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libcatalyst-plugin-session-store-dbic-perl 0.14-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libcatalyst-plugin-session-store-dbic-perl 0.14-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libcatalyst-plugin-session-store-dbic-perl 0.14-4 Β· 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