NAME

Pod::Abstract::Filter - Generic Pod-in to Pod-out filter.

DESCRIPTION

This is a superclass for filter modules using Pod::Abstract. Subclasses should override the filter sub. Pod::Abstract::Filter classes in the Pod::Abstract::Filter namespace will be used by the paf utility.

METHODS

new

Create a new filter with the specified arguments.

require_params

Override to return a list of parameters that must be provided. This will be accepted in order on the command line if they are not set using the -flag=xxx notation.

param

Get the named param. Read only.

filter

Stub method. Does nothing, just returns the original tree.

run

Run the filter. If $arg is a string, it will be parsed first. Otherwise, the Abstract tree will be used. Returns either a string or an abstract tree (which may be the original tree, modified).

AUTHOR

Ben Lilburne <bnej@mac.com>

COPYRIGHT AND LICENSE

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.