Help for this page

Select Code to Download


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