MooseX::Clone::Meta::Attribute::Trait::NoClone
A trait for attributes that should not be copied while cloning
- Provided by: libmoosex-clone-perl (Version: 0.06-2)
- Report a bug
A trait for attributes that should not be copied while cloning
version 0.06
with qw(MooseX::Clone);
has _some_special_thingy => (
traits => [qw(NoClone)],
);
Sometimes certain values should not be carried over when cloning an object.
This attribute trait implements just that.
Otherwise calls "clear_value" and "initialize_instance_slot".
XXXX XXX'XX (Yuval Kogman) <nothingmuch@woobling.org>
This software is copyright (c) 2008 by XXXX XXX'XX (Yuval Kogman).
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.