From 809301da2a6cba4f7408e828502a1129f920cc5c Mon Sep 17 00:00:00 2001 From: Ryan Voots Date: Wed, 6 Apr 2011 19:17:02 -0400 Subject: [PATCH] trying to get MooseX::Declare working. --- lib/eval.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/eval.pl b/lib/eval.pl index c6535bd..5d80ca3 100755 --- a/lib/eval.pl +++ b/lib/eval.pl @@ -18,6 +18,8 @@ use Scalar::MoreUtils; require Moose; require MooseX::Declare; +eval "use MooseX::Declare; class Foo { has dongs => ( is => ro, isa => 'Int' ); };"; + no warnings; # This sub is defined here so that it is defined before the 'use charnames'