1MooseX::Storage::Meta::UAstetrriCMboounottsere:iX:b:Du:otSNetodotrSPaeegrreil:a:lDMioezcteua(m:3e:)nAttattriiobnute::DoNotSerialize(3)
2
3
4

NAME

6       MooseX::Storage::Meta::Attribute::DoNotSerialize - A custom
7       meta-attribute to bypass serialization
8

SYNOPSIS

10         package Point;
11         use Moose;
12         use MooseX::Storage;
13
14         with Storage('format' => 'JSON', 'io' => 'File');
15
16         has 'x' => (is => 'rw', isa => 'Int');
17         has 'y' => (is => 'rw', isa => 'Int');
18
19         has 'foo' => (
20             metaclass => 'DoNotSerialize',
21             is        => 'rw',
22             isa       => 'CodeRef',
23         );
24
25         1;
26

DESCRIPTION

28       Sometimes you don't want a particular attribute to be part of the
29       serialization, in this case, you want to make sure that attribute uses
30       this custom meta-attribute. See the SYNOPSIS for a nice example that
31       can be easily cargo-culted.
32

METHODS

34   Introspection
35       meta
36

BUGS

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

AUTHOR

43       Chris Prather <chris.prather@iinteractive.com>
44
45       Stevan Little <stevan.little@iinteractive.com>
46
48       Copyright 2007-2008 by Infinity Interactive, Inc.
49
50       <http://www.iinteractive.com>
51
52       This library is free software; you can redistribute it and/or modify it
53       under the same terms as Perl itself.
54
55
56
57perl v5.12.0               MooseX:2:0S0t9o-r0a7g-e1:4:Meta::Attribute::DoNotSerialize(3)
Impressum