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

DESCRIPTION

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

METHODS

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

TODO

42       Add more stuff to this module :)
43

BUGS

45       All complex software has bugs lurking in it, and this module is no
46       exception. If you find a bug please either email me, or add the bug to
47       cpan-RT.
48

AUTHOR

50       Stevan Little <stevan.little@iinteractive.com>
51
53       Copyright 2007-2008 by Infinity Interactive, Inc.
54
55       <http://www.iinteractive.com>
56
57       This library is free software; you can redistribute it and/or modify it
58       under the same terms as Perl itself.
59
60
61
62perl v5.12.0                      2009-07-14          MooseX::Storage::Util(3)
Impressum