Data::...::YAML(3pm)

πŸ’– Data::Session::Serialize::YAML πŸ’–

okay so bestie, welcome to the Data::Session::Serialize::YAML page from the User Contributed Perl Documentation collection ✨ β€” she's a persistent session manager and she's literally so good at her job 🫢


✨ NAME ✨

Data::Session::Serialize::YAML β€” a persistent session manager πŸ‘‘


🌸 Synopsis 🌸

See Data::Session for details. that's it, that's the synopsis, go read the main character's page πŸ’…


πŸ¦‹ Description πŸ¦‹

Data::Session::Serialize::YAML lets Data::Session manipulate sessions using YAML::Tiny. no cap, that's the whole vibe 🌈

To use this module, do this:

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

πŸ’œ Case-sensitive Options πŸ’œ

See "Case-sensitive Options" in Data::Session for important information. seriously, go look, it matters πŸ™ˆ


πŸŽ€ Method: new() πŸŽ€

Creates a new object of type Data::Session::Serialize::YAML. brand new baby object, iconic behavior πŸ’–

new() takes a hash of key/value pairs, some of which might be mandatory. Further, some combinations might be mandatory. iykyk 😭

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. cute, right? 🧚

  • 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 YAML::Tiny. ice cold, literally πŸ§ŠπŸ’€


🌈 Method: thaw($data) 🌈

Returns $data thawed by YAML::Tiny. and we're back, no cap πŸ”₯


🫢 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 ⭐

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

and that's the whole page bestie πŸ’– this one's from perl v5.36.0, dated 2023-02-14 β€” so it's giving vintage-but-still-slaying ✨ go forth and serialize your sessions, you got this πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from