X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMooseX%2FStorage%2FMeta%2FAttribute%2FTrait%2FDoNotSerialize.pm;h=834fdae2c1afad02e9079423e07f14592c479de2;hb=8b2ba857269b040d3a0f11f3d95e2c5b9af44415;hp=84259d7531a15140b991e9e830d2cc8a17fd8baa;hpb=acf1df17928851cd2253de13bfe7b6fe1edfcc49;p=gitmo%2FMooseX-Storage.git diff --git a/lib/MooseX/Storage/Meta/Attribute/Trait/DoNotSerialize.pm b/lib/MooseX/Storage/Meta/Attribute/Trait/DoNotSerialize.pm index 84259d7..834fdae 100644 --- a/lib/MooseX/Storage/Meta/Attribute/Trait/DoNotSerialize.pm +++ b/lib/MooseX/Storage/Meta/Attribute/Trait/DoNotSerialize.pm @@ -22,25 +22,25 @@ MooseX::Storage::Meta::Attribute::Trait::DoNotSerialize - A custom meta-attribut package Point; use Moose; use MooseX::Storage; - + with Storage('format' => 'JSON', 'io' => 'File'); - + has 'x' => (is => 'rw', isa => 'Int'); has 'y' => (is => 'rw', isa => 'Int'); - + has 'foo' => ( traits => [ 'DoNotSerialize' ], is => 'rw', isa => 'CodeRef', ); - + 1; =head1 DESCRIPTION -Sometimes you don't want a particular attribute to be part of the -serialization, in this case, you want to make sure that attribute -uses this custom meta-attribute-trait. See the SYNOPSIS for a nice +Sometimes you don't want a particular attribute to be part of the +serialization, in this case, you want to make sure that attribute +uses this custom meta-attribute-trait. See the SYNOPSIS for a nice example that can be easily cargo-culted. =head1 METHODS @@ -55,7 +55,7 @@ example that can be easily cargo-culted. =head1 BUGS -All complex software has bugs lurking in it, and this module is no +All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to cpan-RT.