From: gfx Date: Mon, 8 Feb 2010 04:40:53 +0000 (+0900) Subject: The default maxdepth of 'dump' method is now 3, instead of 2. X-Git-Tag: 0.50~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0cf6f1be4b31b31a9e0f9850e730123759ce35eb;p=gitmo%2FMouse.git The default maxdepth of 'dump' method is now 3, instead of 2. --- diff --git a/lib/Mouse/Util.pm b/lib/Mouse/Util.pm index 4908863..b7ab693 100644 --- a/lib/Mouse/Util.pm +++ b/lib/Mouse/Util.pm @@ -344,7 +344,7 @@ sub dump :method { require 'Data/Dumper.pm'; # we don't want to create its namespace my $dd = Data::Dumper->new([$self]); - $dd->Maxdepth(defined($maxdepth) ? $maxdepth : 2); + $dd->Maxdepth(defined($maxdepth) ? $maxdepth : 3); $dd->Indent(1); return $dd->Dump(); }