Query: moosex::clone::meta::attribute::trait::noclone
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MooseX::Clone::Meta::Attribute::Trait::NoClone(3pm) User Contributed Perl Documentation MooseX::Clone::Meta::Attribute::Trait::NoClone(3pm)NAMEMooseX::Clone::Meta::Attribute::Trait::NoClone - A trait for attrs that should not be copied while cloning.SYNOPSISwith qw(MooseX::Clone); has _some_special_thingy => ( traits => [qw(NoClone)], );DESCRIPTIONSometimes certain values should not be carried over when cloning an object. This attribute trait implements just that.METHODSclone_value If the "init_arg" param is set (that means an explicit value was given to "clone") sets the attribute to that value. Otherwise calls "clear_value" and "initialize_instance_slot". perl v5.10.1 2009-01-11 MooseX::Clone::Meta::Attribute::Trait::NoClone(3pm)