]> git.vpit.fr Git - perl/modules/LaTeX-TikZ.git/commitdiff
Silence a warnings with Moose 1.09
authorVincent Pit <vince@profvince.com>
Mon, 26 Jul 2010 09:41:54 +0000 (11:41 +0200)
committerVincent Pit <vince@profvince.com>
Mon, 26 Jul 2010 09:41:54 +0000 (11:41 +0200)
lib/LaTeX/TikZ/Mod/Formatted.pm

index e9b67a9f06c0117701cc9f70fd0d471bbca67430..48b62f8436325641cd0b54b76bd9ee7e2c1b69d9 100644 (file)
@@ -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