]> git.vpit.fr Git - perl/modules/LaTeX-TikZ.git/blobdiff - lib/LaTeX/TikZ/Set.pm
Bump copyright year
[perl/modules/LaTeX-TikZ.git] / lib / LaTeX / TikZ / Set.pm
index e673097ec2f20e7a9349e8cabff8cdef3cfb84c3..075dcb88b9ed88f48a29794a475df6aaeb507fc8 100644 (file)
@@ -20,7 +20,7 @@ use LaTeX::TikZ::Scope;
 
 use LaTeX::TikZ::Tools;
 
-use Any::Moose 'Role';
+use Mouse::Role;
 
 =head1 ATTRIBUTES
 
@@ -94,9 +94,10 @@ around 'draw' => sub {
 
  my @mods = $cxt->effective_mods;
  if (@mods) {
-  $body = LaTeX::TikZ::Scope->new
-                            ->mod(map $_->apply($tikz), @mods)
-                            ->body($body);
+  $body = LaTeX::TikZ::Scope->new(
+   mods => [ map $_->apply($tikz), @mods ],
+   body => $body,
+  );
  }
 
  $body;
@@ -163,7 +164,7 @@ You can find documentation for this module with the perldoc command.
 
 =head1 COPYRIGHT & LICENSE
 
-Copyright 2010 Vincent Pit, all rights reserved.
+Copyright 2010,2011,2012,2013,2014,2015 Vincent Pit, all rights reserved.
 
 This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.