MooseX::Clone - Fine-grained cloning support for Moose objects. River stage two • 23 direct dependents • 86 total dependents

Out of the box Moose only provides very barebones cloning support in order to maximize flexibility. This role provides a "clone" method that makes use of the low level cloning support already in Moose and adds selective deep cloning based on introspe...

ETHER/MooseX-Clone-0.06 - 23 May 2015 22:38:59 UTC

lib/MooseX/Clone/Meta/Attribute/Trait/Clone/Std.pm River stage two • 23 direct dependents • 86 total dependents

ETHER/MooseX-Clone-0.06 - 23 May 2015 22:38:59 UTC

lib/MooseX/Clone/Meta/Attribute/Trait/Clone/Base.pm River stage two • 23 direct dependents • 86 total dependents

ETHER/MooseX-Clone-0.06 - 23 May 2015 22:38:59 UTC

MooseX::Clone::Meta::Attribute::Trait::Copy - Simple copying of arrays and hashes for MooseX::Clone River stage two • 23 direct dependents • 86 total dependents

Unlike the "Clone" trait, which does deep copying of almost anything, this trait will only do one additional level of copying of arrays and hashes. This is both simpler and faster when you don't need a real deep copy of the entire structure, and prob...

ETHER/MooseX-Clone-0.06 - 23 May 2015 22:38:59 UTC

MooseX::Clone::Meta::Attribute::Trait::Clone - The attribute trait for deeply cloning attributes River stage two • 23 direct dependents • 86 total dependents

This meta attribute trait provides a "clone_value" method, in the spirit of "get_value" and "set_value". This allows clone methods such as the one in MooseX::Clone to make use of this per-attribute cloning behavior....

ETHER/MooseX-Clone-0.06 - 23 May 2015 22:38:59 UTC

MooseX::Clone::Meta::Attribute::Trait::NoClone - A trait for attributes that should not be copied while cloning River stage two • 23 direct dependents • 86 total dependents

Sometimes certain values should not be carried over when cloning an object. This attribute trait implements just that....

ETHER/MooseX-Clone-0.06 - 23 May 2015 22:38:59 UTC

MooseX::Clone::Meta::Attribute::Trait::StorableClone - The attribute trait for deeply cloning attributes using Storable River stage two • 23 direct dependents • 86 total dependents

This meta attribute trait provides a "clone_value" method, in the spirit of "get_value" and "set_value". This allows clone methods such as the one in MooseX::Clone to make use of this per-attribute cloning behavior....

ETHER/MooseX-Clone-0.06 - 23 May 2015 22:38:59 UTC
7 results (0.023 seconds)