[Jifty-commit] r7475 - in Template-Declare/trunk: .
Jifty commits
jifty-commit at lists.jifty.org
Thu Sep 3 16:47:01 EDT 2009
Author: theory
Date: Thu Sep 3 16:47:00 2009
New Revision: 7475
Modified:
Template-Declare/trunk/Changes
Template-Declare/trunk/lib/Template/Declare.pm
Log:
Document that inheritance works for aliased templates.
Modified: Template-Declare/trunk/Changes
==============================================================================
--- Template-Declare/trunk/Changes (original)
+++ Template-Declare/trunk/Changes Thu Sep 3 16:47:00 2009
@@ -1,8 +1,9 @@
-0.40_01 2009-08-12
+0.41
+* Documented aliasing.
+0.40_01 2009-08-12
* Support for inline tagset definitions. Thanks to Olivier 'dolmen' Mengué
[rt.cpan.org #48642]
-* Documented aliasing.
0.40 - 2009-07-08
* Fix subname issue with the debugger and specifically Devel::NYTProf
Modified: Template-Declare/trunk/lib/Template/Declare.pm
==============================================================================
--- Template-Declare/trunk/lib/Template/Declare.pm (original)
+++ Template-Declare/trunk/lib/Template/Declare.pm Thu Sep 3 16:47:00 2009
@@ -411,6 +411,10 @@
package variables defined for the alias are available only to the alias, and
not to the original.
+In either case, ineritance continues to work. A template package that inherits
+from Some::Other::Mixin, for example, will be able to access both
+"mymixin/howdy" and "howdy".
+
=cut
sub alias {
More information about the Jifty-commit
mailing list