| Text-AutoLink documentation | view source | Contained in the Text-AutoLink distribution. |
Text::AutoLink::Plugin - Base Class For Text::AutoLink Plugin
package MyPlugin;
use strict;
use base qw(Text::AutoLink::Plugin);
sub process { ... }
Base class for Text::AutoLink Plugin.
Creates a new plugin instance.
You can specify the "target" attribute of the resulting link here
This method must be overridden in the subclass. It receives a scalar ref, which is the text that you should be modifying.
Returns false if not replacement was performed. Returns true otherwise.
The link text.
The target text. Overrides the value provided to new()
The linked text. The value of 'href' is used if not specified.
| Text-AutoLink documentation | view source | Contained in the Text-AutoLink distribution. |