Comics::Plugin::Base -- Base class for Plugins.
This base class is only used indirectly via the Fetchers.
The Plugin Base class provides tools for Plugins.
Registers the plugin to the aggregator.
The method takes a hash ref with arguments. What arguments are possible depends on the plugin's Fetcher type. See the documentation of the Fetchers for more info.
As of API 1.1, the preferred way of specifying the data is by using package variables. These will be transferred to the hash using introspection.
Common arguments are:
The full name of this comic, e.g. "Fokke en Sukke".
The url of this comic's home page.
A short identifier for this comic. This will be automatically provided if not specified.
The tag is used to generate file names for images and HTML fragments.
Generates an HTML fragment for a fetched image.
Generates a tag (identifier) from the name of the plugin.
To install Comics, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Comics
CPAN shell
perl -MCPAN -e shell install Comics
For more information on module installation, please visit the detailed CPAN module installation guide.