From: Ricardo Signes Date: Thu, 1 Sep 2011 19:51:33 +0000 (-0400) Subject: changelog/delta for shallow_clone X-Git-Tag: 2.0300~95 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7d7d2bef170e1baa15ee7248e630f27f5bb7227e;p=gitmo%2FMoose.git changelog/delta for shallow_clone --- diff --git a/Changes b/Changes index b497b8f..58e635d 100644 --- a/Changes +++ b/Changes @@ -3,6 +3,12 @@ for, noteworthy changes. {{$NEXT}} + [NEW FEATURES] + + * The Array and Hash native traits now provide a "shallow_clone" method, + which will return a reference to a new container with the same contents as + the attribute's reference. + [ENHANCEMENTS] * The Moose::Exporter module now has a "meta_lookup" option when creating an diff --git a/lib/Moose/Manual/Delta.pod b/lib/Moose/Manual/Delta.pod index d4c2af8..8dffcc1 100644 --- a/lib/Moose/Manual/Delta.pod +++ b/lib/Moose/Manual/Delta.pod @@ -32,6 +32,12 @@ L object directly. Use the inlining feature (C) added in 2.0100 instead. +=item Array and Hash native traits provide a C method + +The Array and Hash native traits now provide a "shallow_clone" method, which +will return a reference to a new container with the same contents as the +attribute's reference. + =back =head1 2.0100