2 package MooseX::Storage::Meta::Attribute::DoNotSerialize;
5 extends 'Moose::Meta::Attribute';
7 # register this alias ...
8 package Moose::Meta::Attribute::Custom::DoNotSerialize;
9 sub register_implementation { 'MooseX::Storage::Meta::Attribute::DoNotSerialize' }
19 MooseX::Storage::Meta::Attribute::DoNotSerialize
27 with Storage('format' => 'JSON', 'io' => 'File');
29 has 'x' => (is => 'rw', isa => 'Int');
30 has 'y' => (is => 'rw', isa => 'Int');
33 metaclass => 'DoNotSerialize',
42 Sometimes you don't want a particular attribute to be part of the
43 serialization, in this case, you want to make sure that attribute
44 uses this custom meta-attribute. See the SYNOPSIS for a nice example
45 that can be easily cargo-culted.
59 All complex software has bugs lurking in it, and this module is no
60 exception. If you find a bug please either email me, or add the bug
65 Chris Prather E<lt>chris.prather@iinteractive.comE<gt>
67 Stevan Little E<lt>stevan.little@iinteractive.comE<gt>
69 =head1 COPYRIGHT AND LICENSE
71 Copyright 2007 by Infinity Interactive, Inc.
73 L<http://www.iinteractive.com>
75 This library is free software; you can redistribute it and/or modify
76 it under the same terms as Perl itself.