Commits

Shlomi Fish  committed 7898d9d

Got the tests to pass.

Thanks to mst.

  • Participants
  • Parent commits 58d812b
  • Branches make_Role_XSLT_parameterized

Comments (0)

Files changed (2)

File XML-GrammarBase/lib/XML/GrammarBase/Role/XSLT.pm

 =cut
 
 use Package::Variant
-    importing => ['Moo::Role', 'MooX' => ['late'],],
+    importing => ['Moo::Role', 'MooX::Role' => ['late'],],
     subs => [ qw(has with) ];
 
 # use MooX 'late';

File XML-GrammarBase/lib/XML/GrammarBase/Role/XSLT/Global.pm

     my ($self, $output_format) = @_;
 
     my $style_doc = $self->_xml_parser()->parse_file(
-        $self->dist_path_slot("to_{$output_format}_xslt_transform_basename"),
+        $self->dist_path_slot("to_${output_format}_xslt_transform_basename"),
     );
 
     return $self->_xslt_parser->parse_stylesheet($style_doc);