From: Stevan Little Date: Fri, 22 Feb 2008 21:49:11 +0000 (+0000) Subject: changes in Moose::Object X-Git-Tag: 0_55~296 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1a386a6c4c98a3332f97c2920d67e0fcb3096e6c;p=gitmo%2FMoose.git changes in Moose::Object --- diff --git a/Changes b/Changes index e4fe4a2..fb9fba6 100644 --- a/Changes +++ b/Changes @@ -8,6 +8,10 @@ Revision history for Perl extension Moose have slightly better support for AUTOLOADed objects - added more delegation tests + + * Moose::Object + - localizing the Data::Dumper configurations so + that it does not pollute others (RT #33509) 0.38 Fri. Feb. 15, 2008 * Moose::Meta::Attribute diff --git a/lib/Moose/Object.pm b/lib/Moose/Object.pm index 58af227..b5fb037 100644 --- a/lib/Moose/Object.pm +++ b/lib/Moose/Object.pm @@ -9,7 +9,7 @@ use if ( not our $__mx_is_compiled ), metaclass => 'Moose::Meta::Class'; use Carp 'confess'; -our $VERSION = '0.10'; +our $VERSION = '0.11'; our $AUTHORITY = 'cpan:STEVAN'; sub new { @@ -80,7 +80,7 @@ sub does { sub dump { my $self = shift; require Data::Dumper; - $Data::Dumper::Maxdepth = shift if @_; + local $Data::Dumper::Maxdepth = shift if @_; Data::Dumper::Dumper $self; }