]> git.vpit.fr Git - perl/modules/LaTeX-TikZ.git/blobdiff - lib/LaTeX/TikZ/Mod/Formatted.pm
Switch to qw<>
[perl/modules/LaTeX-TikZ.git] / lib / LaTeX / TikZ / Mod / Formatted.pm
index e9b67a9f06c0117701cc9f70fd0d471bbca67430..2dd820b590620e7c0860d6b27bfe38af12a3ca00 100644 (file)
@@ -9,14 +9,17 @@ LaTeX::TikZ::Mod::Formatted - Intermediate object between a modifier object and
 
 =head1 VERSION
 
-Version 0.01
+Version 0.02
 
 =cut
 
-our $VERSION = '0.01';
+our $VERSION = '0.02';
 
 use Any::Moose;
-use Any::Moose 'Util::TypeConstraints';
+use Any::Moose 'Util::TypeConstraints' => [
+ 'enum',
+ qw<coerce from via>,
+];
 
 =head1 ATTRIBUTES
 
@@ -26,7 +29,7 @@ use Any::Moose 'Util::TypeConstraints';
 
 has 'type' => (
  is       => 'ro',
- isa      => enum([ qw/clip layer raw/ ]),
+ isa      => enum([ qw<clip layer raw> ]),
  required => 1,
 );