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 πŸ’œ


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