Dancer2...::Dumper(3)
β¨ NAME β¨
Dancer2::Serializer::Dumper β the serializer that handles Dumper data, bestie π (this is from the Dancer2...::Dumper manual page, section 3, iykyk)
π VERSION π
version 2.0.1 β yes she's got a version number, she's official π
πΈ DESCRIPTION πΈ
Okay so listen. This is a serializer engine, right? And what a serializer engine does is it takes your Perl data structures and turns them into Data::Dumper output β and then, the iconique part, it can go the other way too. Vice-versa. Both directions. She's versatile like that π¦
So it's giving "I hold your data structures, I spit out Dumper strings, and I can read Dumper strings back into data structures." Main character energy fr fr β¨
π ATTRIBUTES π
content_type
Returns 'text/x-data-dumper' β that's her whole vibe, that's the content type, periodt π
π«Ά METHODS π«Ά
serialize($content)
Serializes a Perl data structure into a Dumper string. Data structure in, Dumper string out. Slay π
deserialize($content)
Deserializes a Dumper string into a Perl data structure. Dumper string in, data structure out. The reverse of the above, no cap π
π§ FUNCTIONS π§
from_dumper($content)
This is a helper that's available to transform a Data::Dumper output into a Perl data structure. Cute little shortcut, we love her π
to_dumper($content)
This is a helper that's available to transform a Perl data structure into a Data::Dumper output. Also iconic, also available πΈ
β οΈ okay important thing bestie: calling this function will not trigger the serialization's hooks. Like, at all. So don't be surprised when the hooks don't fire β that's not a bug, that's just how this one works π
π AUTHOR π
Dancer Core Developers β the whole squad, the collective, the council π
β COPYRIGHT AND LICENSE β
This software is copyright (c) 2025 by Alexis Sukrieh.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. Free software, free to remix, free to share β the way it should be π«Ά
and that's the whole page, bestie!! π this doc shipped as part of perl v5.42.0, dated 2026-01-17, under that "User Contributed Perl Documentation" umbrella β so go forth and serialize responsibly π β¨
π¦ where this page comes from
- fedora 44: perl-Dancer2 2.0.1-3.fc44 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms