1MooseX::Clone::Meta::AtUtsreirbuCtoenM:to:roTisrbeauXit:te::dC:lNPooenCrell:o:nDMeoe(ct3ua)m:e:nAttattriiobnute::Trait::NoClone(3)
2
3
4
6 MooseX::Clone::Meta::Attribute::Trait::NoClone - A trait for attrs that
7 should not be copied while cloning.
8
10 with qw(MooseX::Clone);
11
12 has _some_special_thingy => (
13 traits => [qw(NoClone)],
14 );
15
17 Sometimes certain values should not be carried over when cloning an
18 object.
19
20 This attribute trait implements just that.
21
23 clone_value
24 If the "init_arg" param is set (that means an explicit value was
25 given to "clone") sets the attribute to that value.
26
27 Otherwise calls "clear_value" and "initialize_instance_slot".
28
29
30
31perl v5.12.1 Moose2X0:0:9C-l0o1n-e1:1:Meta::Attribute::Trait::NoClone(3)