From: Vincent Pit Date: Mon, 2 Aug 2010 10:02:05 +0000 (+0200) Subject: Require the mapper attribute X-Git-Tag: v0.02~2 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=c6ce52b9f723406dc94140753f89dab14d846778;p=perl%2Fmodules%2FLaTeX-TikZ.git Require the mapper attribute --- diff --git a/lib/LaTeX/TikZ/Meta/TypeConstraint/Autocoerce.pm b/lib/LaTeX/TikZ/Meta/TypeConstraint/Autocoerce.pm index cdbc69c..36efdf1 100644 --- a/lib/LaTeX/TikZ/Meta/TypeConstraint/Autocoerce.pm +++ b/lib/LaTeX/TikZ/Meta/TypeConstraint/Autocoerce.pm @@ -34,8 +34,9 @@ It is called with the type constraint object as first argument, followed by the =cut has 'mapper' => ( - is => 'ro', - isa => 'CodeRef', + is => 'ro', + isa => 'CodeRef', + required => 1, ); =head2 C