- or download this
# config file:
...
<% END %>
</table>
</div>
- or download this
use Test::More;
use Template::Plugin::FilterFence;
...
is($t->filter(0), q(), 'zero');
is($t->filter(1), '|', 'one');
# etc.
- or download this
sub init {
my $self = shift;
$self->install_filter('fence');
return $self
}
- or download this
<% row.1 | fence %>
- or download this
Can't call method "define_filter" on an undefined value at .../Templat
+e/Plugin/Filter.pm line 117.
- or download this
my $t = bless {}, 'Template::Plugin::FilterFence';
- or download this
undef *Template::Plugin::FilterFence::init;