From: Vincent Pit Date: Mon, 26 Jul 2010 09:41:54 +0000 (+0200) Subject: Silence a warnings with Moose 1.09 X-Git-Tag: v0.02~29 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=238df6b885795c82a210aa8596b5faac303b2d14;p=perl%2Fmodules%2FLaTeX-TikZ.git Silence a warnings with Moose 1.09 --- diff --git a/lib/LaTeX/TikZ/Mod/Formatted.pm b/lib/LaTeX/TikZ/Mod/Formatted.pm index e9b67a9..48b62f8 100644 --- a/lib/LaTeX/TikZ/Mod/Formatted.pm +++ b/lib/LaTeX/TikZ/Mod/Formatted.pm @@ -16,7 +16,10 @@ Version 0.01 our $VERSION = '0.01'; use Any::Moose; -use Any::Moose 'Util::TypeConstraints'; +use Any::Moose 'Util::TypeConstraints' => [ + 'enum', + qw(coerce from via), +]; =head1 ATTRIBUTES