1MooseX::Clone::Meta::AtUtsreirbuCMtooeno:ts:reTiXrb:au:itCtel:do:nNPeoe:Cr:llMoenDteoa(c:3u:pmAmet)nttraitbiuotne::Trait::NoClone(3pm)
2
3
4

NAME

6       MooseX::Clone::Meta::Attribute::Trait::NoClone - A trait for attributes
7       that should not be copied while cloning
8

VERSION

10       version 0.06
11

SYNOPSIS

13           with qw(MooseX::Clone);
14
15           has _some_special_thingy => (
16               traits => [qw(NoClone)],
17           );
18

DESCRIPTION

20       Sometimes certain values should not be carried over when cloning an
21       object.
22
23       This attribute trait implements just that.
24

METHODS

26       clone_value
27           If the "init_arg" param is set (that means an explicit value was
28           given to "clone") sets the attribute to that value.
29
30           Otherwise calls "clear_value" and "initialize_instance_slot".
31

AUTHOR

33       XXXX XXX'XX (Yuval Kogman) <nothingmuch@woobling.org>
34
36       This software is copyright (c) 2008 by XXXX XXX'XX (Yuval Kogman).
37
38       This is free software; you can redistribute it and/or modify it under
39       the same terms as the Perl 5 programming language system itself.
40
41
42
43perl v5.30.1               MooseX:2:0C2l0o-n0e1:-:3M0eta::Attribute::Trait::NoClone(3pm)
Impressum