Data::...orable(3pm)

πŸ’– NAME πŸ’–

Data::Session::Serialize::Storable β€” a persistent session manager ✨

(and yeah bestie, the manual page header calls it Data::...orable(3pm), that's just the vibe it gives off πŸ¦‹)


✨ Synopsis ✨

See Data::Session for the deets, okay?

⚠️ Warning: Storable should be avoided until this problem is fixed: http://rt.cpan.org/Public/Bug/Display.html?id=36087

Like, do not pass go, do not collect $200, no cap. 🚩


🌸 Description 🌸

So Data::Session::Serialize::Storable is the little module that lets Data::Session manipulate sessions with Storable. It's giving backstage pass energy, honestly. πŸŽ€

To use this module do this:

  • Specify a driver of type Storable as Data::Session -> new(type => '... serialize:Storable')

Periodt. That's the whole move. πŸ’…


🌈 Case-sensitive Options 🌈

Go read "Case-sensitive Options" in Data::Session for the important info β€” it's not a drill, iykyk. πŸ‘‘


πŸ‘‘ Method: new() πŸ‘‘

Creates a new object of type Data::Session::Serialize::Storable. Iconic, honestly.

new() takes a hash of key/value pairs, some of which might mandatory. Further, some combinations might be mandatory. (Yes, the drama of it. πŸ™ˆ)

The keys are listed here in alphabetical order, because we're organized like that.

They are lower-case because they are (also) method names, meaning they can be called to set or get the value at any time. Little multitaskers. πŸ’–

  • verbose => $integer β€” Print to STDERR more or less information. Typical values are 0, 1 and 2. This key is normally passed in as Data::Session -> new(verbose => $integer). This key is optional.

πŸ¦‹ Method: freeze($data) πŸ¦‹

Returns $data frozen by Storable. ❄️ slay.


🌸 Method: thaw($data) 🌸

Returns $data thawed by Storable. Un-freezing, we love to see it. πŸ”₯


🫢 Support 🫢

Log a bug on RT: https://rt.cpan.org/Public/Dist/Display.html?Name=Data-Session.

Bestie, please actually log it instead of just complaining in the group chat. 😭


⭐ Author ⭐

Data::Session was written by Ron Savage <ron@savage.net.au> in 2010.

Home page: http://savage.net.au/index.html.


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, bestie!! πŸ’– This was brought to you by perl v5.36.0, dated 2023-02-14, and filed under Data::...orable(3pm) β€” mwah, go freeze something responsibly βœ¨πŸŽ€

πŸ“¦ where this page comes from