1MooseX::Clone::Meta::AtUtsreirbuCtoen:tM:roTiorbsaueitXte::d::CCPloeoprnyle(:3D:poMmce)utmae:n:tAatttiroinbute::Trait::Copy(3pm)
2
3
4
6 MooseX::Clone::Meta::Attribute::Trait::Copy - Simple copying of arrays
7 and hashes for MooseX::Clone
8
10 version 0.06
11
13 has foo => (
14 isa => "ArrayRef",
15 traits => [qw(Copy)],
16 );
17
19 Unlike the "Clone" trait, which does deep copying of almost anything,
20 this trait will only do one additional level of copying of arrays and
21 hashes.
22
23 This is both simpler and faster when you don't need a real deep copy of
24 the entire structure, and probably more correct.
25
27 XXXX XXX'XX (Yuval Kogman) <nothingmuch@woobling.org>
28
30 This software is copyright (c) 2008 by XXXX XXX'XX (Yuval Kogman).
31
32 This is free software; you can redistribute it and/or modify it under
33 the same terms as the Perl 5 programming language system itself.
34
35
36
37perl v5.32.0 Moos2e0X2:0:-C0l7o-n2e8::Meta::Attribute::Trait::Copy(3pm)