From: Matt S Trout Date: Sun, 12 Aug 2012 17:18:05 +0000 (-0700) Subject: also exclude Template::Plugins X-Git-Tag: v1.000000~8 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a31f2ca0babc8cf63677ccbedd0835c0dadc8d1d;p=scpubgit%2FHTML-String.git also exclude Template::Plugins --- diff --git a/lib/HTML/String/TT/Directive.pm b/lib/HTML/String/TT/Directive.pm index 4a1c819..726acfe 100644 --- a/lib/HTML/String/TT/Directive.pm +++ b/lib/HTML/String/TT/Directive.pm @@ -7,7 +7,7 @@ use base qw(Template::Directive); sub template { return byval { - s/sub {/sub { package HTML::String::TT::_TMPL; use HTML::String::Overload { ignore => { q{Template::Provider} => 1, q{Template::Directive} => 1, q{Template::Document} => 1 } };/; + s/sub {/sub { package HTML::String::TT::_TMPL; use HTML::String::Overload { ignore => { q{Template::Provider} => 1, q{Template::Directive} => 1, q{Template::Document} => 1, q{Template::Plugins} => 1 } };/; } Template::Directive::pad(shift->SUPER::template(@_), 2); }