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.
To install Text::AutoLink, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::AutoLink
CPAN shell
perl -MCPAN -e shell install Text::AutoLink
For more information on module installation, please visit the detailed CPAN module installation guide.