Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

MooseX::Clone::Meta::Attribute::Trait::Copy - Simple copying of arrays and hashes for MooseX::Clone

Author

       XXXX XXX'XX (Yuval Kogman) <nothingmuch@woobling.org>

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.

Name

       MooseX::Clone::Meta::Attribute::Trait::Copy - Simple copying of arrays and hashes for MooseX::Clone

Synopsis

           has foo => (
               isa => "ArrayRef",
               traits => [qw(Copy)],
           );

Version

       version 0.06

See Also