1MooseX::Storage::Util(3U)ser Contributed Perl DocumentatiMoonoseX::Storage::Util(3)
2
3
4

NAME

6       MooseX::Storage::Util - A MooseX::Storage Swiss Army chainsaw
7

VERSION

9       version 0.53
10

DESCRIPTION

12       This module provides a set of tools, some sharp and focused, others
13       more blunt and crude. But no matter what, they are useful bits to have
14       around when dealing with MooseX::Storage code.
15

METHODS

17       All the methods in this package are class methods and should be called
18       appropriately.
19
20       peek ($data, %options)
21           This method will help you to verify that the serialized class you
22           have gotten is what you expect it to be before you actually
23           unfreeze/unpack it.
24
25           The $data can be either a perl HASH ref or some kind of serialized
26           data (JSON, YAML, etc.).
27
28           The %options are as follows:
29
30           format
31               If this is left blank, we assume that $data is a plain perl
32               HASH ref otherwise we attempt to inflate $data based on the
33               value of this option.
34
35               Currently only JSON and YAML are supported here.
36
37           key The default is to try and extract the class name, but if you
38               want to check another key in the data, you can set this option.
39               It will return the value found in the key for you.
40

TODO

42       Add more stuff to this module :)
43

SUPPORT

45       Bugs may be submitted through the RT bug tracker
46       <https://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-Storage> (or
47       bug-MooseX-Storage@rt.cpan.org <mailto:bug-MooseX-
48       Storage@rt.cpan.org>).
49
50       There is also a mailing list available for users of this distribution,
51       at <http://lists.perl.org/list/moose.html>.
52
53       There is also an irc channel available for users of this distribution,
54       at "#moose" on "irc.perl.org" <irc://irc.perl.org/#moose>.
55

AUTHORS

57       ·   Chris Prather <chris.prather@iinteractive.com>
58
59       ·   Stevan Little <stevan.little@iinteractive.com>
60
61       ·   יובל קוג'מן (Yuval Kogman) <nothingmuch@woobling.org>
62
64       This software is copyright (c) 2007 by Infinity Interactive, Inc.
65
66       This is free software; you can redistribute it and/or modify it under
67       the same terms as the Perl 5 programming language system itself.
68
69
70
71perl v5.32.0                      2020-07-28          MooseX::Storage::Util(3)
Impressum