Rechercher une page de manuel
MooseX::Clone::Meta::Attribute::Trait::Copy.3pm
Langue: en
Version: 2009-04-11 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
MooseX::Clone::Meta::Attribute::Trait::Copy - Simple copying of arrays and hashes for MooseX::CloneSYNOPSIS
has foo => ( isa => "ArrayRef", traits => [qw(Copy)], );
DESCRIPTION
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 probably more correct.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre