GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  TEXT::DECORATOR::FILTER (3)

.ds Aq ’

NAME

Text::Decorator::Filter - Base class for text decorator filters

CONTENTS

DESCRIPTION

This is the base class that all filters should inherit from.

METHODS

    filter

This base class provides the all-important filter method that you really don’t want to implement yourself. Instead, you should provide one of these methods:

    filter_text

This should simply modify $_. It’s called once for each representation, with the representation as the first parameter to the method.

    filter_node

This gets called as



        $class->filter_node($args, $node)



for every textual node, and is expected to return one or more modified node objects.

There’s also filter_group which you may want to provide, which does the same but for Group objects.

    filter_anynode

This is the same, but gets called for both Group and Node objects.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 TEXT::DECORATOR::FILTER (3) 2016-04-03

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.