diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Tree/Transform/XSLTish.pm | 4 | ||||
-rw-r--r-- | lib/Tree/Transform/XSLTish/Transformer.pm | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/Tree/Transform/XSLTish.pm b/lib/Tree/Transform/XSLTish.pm index 7053428..3dfb430 100644 --- a/lib/Tree/Transform/XSLTish.pm +++ b/lib/Tree/Transform/XSLTish.pm @@ -254,6 +254,10 @@ with the usual Perl inheritance scheme. It should even work with L<Class::C3>, since we use L<Class::MOP>'s C<class_precedence_list> to get the list of inherited packages. +Engine factories are inherited, too, so you can extend a rules package +without re-specifying the engine (you can, of course, override this +and specify another one). + =head1 AUTHOR Gianni Ceccarelli <dakkar@thenautilus.net> diff --git a/lib/Tree/Transform/XSLTish/Transformer.pm b/lib/Tree/Transform/XSLTish/Transformer.pm index dae5821..857143a 100644 --- a/lib/Tree/Transform/XSLTish/Transformer.pm +++ b/lib/Tree/Transform/XSLTish/Transformer.pm @@ -237,7 +237,7 @@ the correct C<rules_package> automatically. If you don't specify an C<engine>, it will be constructed using the class or factory declared in the rules package; if you didn't declare -anything, it will be an instance of L<Tree::XPathEngine> +anything, it will be an instance of L<Tree::XPathEngine>. =for comment |