Jesse Luehrs > KiokuDB > KiokuDB::Meta::Attribute::DoNotSerialize

Download:
KiokuDB-0.57.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.57   Source  

NAME ^

KiokuDB::Meta::Attribute::DoNotSerialize - Trait for skipped attributes

VERSION ^

version 0.57

SYNOPSIS ^

    # in your class:

    package Foo;
    use Moose;

    has bar => (
        traits => [qw(KiokuDB::DoNotSerialize)],
        isa => "Bar",
        is  => "ro",
        lazy_build => 1,
    );

DESCRIPTION ^

This Moose::Meta::Attribute trait provides tells KiokuDB to skip an attribute when serializing.

KiokuDB also recognizes MooseX::Meta::Attribute::Trait::DoNotSerialize, but if you don't want to install MooseX::Storage you can use this instead.

AUTHOR ^

Yuval Kogman <nothingmuch@woobling.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2014 by Yuval Kogman, Infinity Interactive.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: