Data::...Dumper(3pm)

πŸ’– NAME πŸ’–

Data::Session::Serialize::DataDumper β€” a persistent session manager. Yep that's the whole name, it's a mouthful, we know. This page is the one and only Data::...Dumper(3pm), bestie, and it's shorter than you think, so stay with me. πŸŽ€


✨ Synopsis ✨

See Data::Session for details.

That's it. That's the synopsis. Iconic minimalism honestly. πŸ’…


🌸 Description 🌸

Data::Session::Serialize::DataDumper lets Data::Session manipulate sessions using Data::Dumper. It's giving middleman, but make it useful. πŸ¦‹

To use this module, do this:

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

The Data::Dumper options it uses are, verbatim, no cap:

$d -> Deepcopy(0);
$d -> Indent(0);
$d -> Purity(1);
$d -> Quotekeys(1);
$d -> Terse(0);
$d -> Useqq(0);

πŸ‘‘ Case-sensitive Options πŸ‘‘

See "Case-sensitive Options" in Data::Session for important information. Go read it, it's important fr fr. πŸ‘€


🧚 Method: new() 🧚

Creates a new object of type Data::Session::Serialize::DataDumper. New object, who dis. ✨

new() takes a hash of key/value pairs, some of which might be mandatory. Further, some combinations might be mandatory. So like, read carefully, bestie, this is the part where the vibes check your homework. 😭

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. Yes, they're double agents. Slay. πŸ’…

  • 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 Data::Dumper. Ice cold. 🧊


🌈 Method: thaw($data) 🌈

Returns $data thawed by Data::Dumper. Un-iced. Back to room temp. πŸ”₯


πŸ’œ Support πŸ’œ

Log a bug on RT:

https://rt.cpan.org/Public/Dist/Display.html?Name=Data-Session

πŸŽ€ Author πŸŽ€

Data::Session was written by Ron Savage <ron@savage.net.au> in 2010. Legend behavior, honestly. πŸ‘‘

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, you made it to the end, I'm so proud of you. 🫢 This was perl v5.36.0, dated 2023-02-14, and the whole thing lives under Data::...Dumper(3pm). Go freeze something. πŸ’–

πŸ“¦ where this page comes from