From 859fb85ae9063926cbdae3d7612a42d5777993a1 Mon Sep 17 00:00:00 2001 From: dakkar Date: Sat, 18 Apr 2009 15:28:57 +0200 Subject: clarified docs on factories --- lib/Tree/Transform/XSLTish.pm | 4 ++++ lib/Tree/Transform/XSLTish/Transformer.pm | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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, since we use L's C 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 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 automatically. If you don't specify an C, 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 +anything, it will be an instance of L. =for comment -- cgit v1.2.3