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
DataDumperasData::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 toSTDERRmore or less information. Typical values are0,1and2. This key is normally passed in asData::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
β 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, 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
- 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