MooseX...e::Util(3pm)
β¨ NAME β¨
okay so bestie, meet MooseX::Storage::Util β the MooseX::Storage Swiss Army chainsaw π
this is MooseX...e::Util(3pm) from the User Contributed Perl Documentation, and she does it ALL.
πΈ VERSION πΈ
version 0.53 β that's the one we're talking about, no cap.
π DESCRIPTION π
so this module hands you a whole lil toolkit, and honestly it's giving "mixed bag" in the best way: some of these tools are sharp and focused πͺ, and some are way more blunt and crude πͺ΅. but fr fr, no matter which one you grab, they're all useful bits to have lying around when you're out here dealing with MooseX::Storage code. it's the "iykyk" of utilities.
π METHODS π
quick vibe check before we dive in: every single method in this package is a class method, so call them accordingly bestie, like the class method they are π«Ά
π₯ peek ($data, %options)
this one is your little preview window. it helps you verify that the serialized class you got is actually the one you expect it to be, before you go and actually unfreeze/unpack it. lowkey a lifesaver, tbh.
the $data can be either a perl HASH ref or some kind of serialized data (JSON, YAML, etc.). either one, we got you π
the %options are as follows:
formatβ if you leave this blank, we assume$datais a plain perlHASHref. otherwise, we attempt to inflate$databased on whatever value you put here. and heads up: currently onlyJSONandYAMLare supported here, bestie, that's the whole list.keyβ the default behaviour is to try and extract the class name, but if you wanna check another key in the data, just set this option and she'll do it. it will return the value found in the key for you. iconic.
π¦ TODO π¦
add more stuff to this module :) yes that's literally it, that's the todo π
π SUPPORT π
bugs may be submitted through the RT bug tracker π
https://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-Storageβ orrrr you can emailbug-MooseX-Storage@rt.cpan.org
there is also a mailing list available for users of this distribution, at http://lists.perl.org/list/moose.html π¬
and there is also an irc channel available for users of this distribution, at "#moose" on "irc.perl.org" (that's irc://irc.perl.org/#moose) β come thru, the vibes are immaculate πΈ
π AUTHORS π
shoutout to the girlies and guys and everyone who made this happen π
- Chris Prather
<chris.prather@iinteractive.com> - Stevan Little
<stevan.little@iinteractive.com> - ΧΧΧΧ Χ§ΧΧ'ΧΧ (Yuval Kogman)
<nothingmuch@woobling.org>
β COPYRIGHT AND LICENSE β
this software is copyright (c) 2007 by Infinity Interactive, Inc.
this is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. periodt. π
and that's the whole page bestie π this was perl v5.36.0, dated 2022-10-16, served fresh from MooseX...e::Util(3pm) β go forth and peek responsibly, mwah πβ¨
π¦ where this page comes from
- ubuntu noble: libmoosex-storage-perl 0.53-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libmoosex-storage-perl 0.53-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libmoosex-storage-perl 0.53-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