MooseX::Clone::Meta::Attribute::Trait::Copy(3pm)

MooseX::Clone::Meta::Attribute::Trait::Copy3pm

Simple copying of arrays and hashes for moosex::clone

Usage

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

Version

version 0.06

Overview

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.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 2 times.

  1. 6.0–8
  2. 9–11
  3. 12–13

Author

XXXX XXX'XX (Yuval Kogman) <[email protected]>

From libmoosex-clone-perl 0.06-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.