MooseX...e::Util(3pm)

πŸ“¦
version 0.53 Β· 5 versions
, in ubuntu noble, ubuntu resolute, ubuntu stonking

✨ 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 $data is a plain perl HASH ref. otherwise, we attempt to inflate $data based on whatever value you put here. and heads up: currently only JSON and YAML are 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 πŸ’Œ

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>

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