]> git.vpit.fr Git - perl/modules/LaTeX-TikZ.git/commitdiff
Require the mapper attribute
authorVincent Pit <vince@profvince.com>
Mon, 2 Aug 2010 10:02:05 +0000 (12:02 +0200)
committerVincent Pit <vince@profvince.com>
Mon, 2 Aug 2010 10:02:05 +0000 (12:02 +0200)
lib/LaTeX/TikZ/Meta/TypeConstraint/Autocoerce.pm

index cdbc69c083c71a60cd759e7019a45bba4e137e45..36efdf19e6e54e91ecb7f90e47e3f268927d1082 100644 (file)
@@ -34,8 +34,9 @@ It is called with the type constraint object as first argument, followed by the
 =cut
 
 has 'mapper' => (
 =cut
 
 has 'mapper' => (
- is  => 'ro',
- isa => 'CodeRef',
+ is       => 'ro',
+ isa      => 'CodeRef',
+ required => 1,
 );
 
 =head2 C<parent>
 );
 
 =head2 C<parent>