From: Henry Van Styn <vanstyn@intellitree.com>
Date: Mon, 5 Jul 2010 06:28:54 +0000 (-0400)
Subject: added extra check in Moose::Meta::Method::Constructor::_generate_default_value to... 
X-Git-Tag: 1.09~68
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c6aa41d31df9342ced768cf10d59060f56643c62;p=gitmo%2FMoose.git

added extra check in Moose::Meta::Method::Constructor::_generate_default_value to return the raw default value if it passes looks_like_number($attr->default). This fixes the bug where non-lazy attributes with defaults set to numbers would be returned as a string instead of a number (i.e. attribute with default => 100 would be returned as "100" instead of 100)
---

diff --git a/Moose b/Moose
new file mode 160000
index 0000000..7dacb29
--- /dev/null
+++ b/Moose
@@ -0,0 +1 @@
+Subproject commit 7dacb294f28248786e98ac1e1cb334e827c3d623