X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FLaTeX%2FTikZ%2FPoint.pm;h=01d562de3ac5acd8db3dba90a18fec1ee6c4ce15;hb=ecb1d1524df9ef8b8e0452d0de3efc871c3855e8;hp=e409947a00245e16f7b32d6c9f1e4a4a52e5219c;hpb=f54cadb836315572aa2c4bcb16f221da1687df7a;p=perl%2Fmodules%2FLaTeX-TikZ.git diff --git a/lib/LaTeX/TikZ/Point.pm b/lib/LaTeX/TikZ/Point.pm index e409947..01d562d 100644 --- a/lib/LaTeX/TikZ/Point.pm +++ b/lib/LaTeX/TikZ/Point.pm @@ -16,13 +16,13 @@ Version 0.02 our $VERSION = '0.02'; use Any::Moose; -use Any::Moose 'Util::TypeConstraints' => [ qw/ +use Any::Moose 'Util::TypeConstraints' => [ qw< coerce from via find_type_constraint register_type_constraint -/ ]; +> ]; =head1 ATTRIBUTES @@ -55,7 +55,7 @@ use LaTeX::TikZ::Meta::TypeConstraint::Autocoerce; register_type_constraint( LaTeX::TikZ::Meta::TypeConstraint::Autocoerce->new( name => 'LaTeX::TikZ::Point::Autocoerce', - parent => find_type_constraint(__PACKAGE__), + target => find_type_constraint(__PACKAGE__), ), );