[Jifty-commit] r2220 - Template-Declare/lib/Template/Declare
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Wed Nov 29 13:06:56 EST 2006
Author: audreyt
Date: Wed Nov 29 13:06:55 2006
New Revision: 2220
Modified:
Template-Declare/lib/Template/Declare/Tags.pm
Log:
* Template::Declare::Tags - hide the "base" declarator because it conflicts with -base
in import line when refreshing.
Modified: Template-Declare/lib/Template/Declare/Tags.pm
==============================================================================
--- Template-Declare/lib/Template/Declare/Tags.pm (original)
+++ Template-Declare/lib/Template/Declare/Tags.pm Wed Nov 29 13:06:55 2006
@@ -45,7 +45,12 @@
use CGI ();
-our %TAGS = ( map { $_ => +{} } map { @$_ } @CGI::EXPORT_TAGS{qw/:html2 :html3 :html4 :netscape :form/} );
+our %TAGS = (
+ map { $_ => +{} }
+ grep { !/^base$/ } # hiding base{...} because it conflicts with "use Foo -base;"
+ map { @$_ }
+ @CGI::EXPORT_TAGS{qw/:html2 :html3 :html4 :netscape :form/}
+);
install_tag($_) for keys %TAGS;
sub with (@) {
More information about the Jifty-commit
mailing list