Comics::Fetcher::Base -- Base class for Fetchers.
package Comics::Fetcher::Direct; use parent qw(Comics::Fetcher::Base);
The Fetcher Base class provides tools for fetching URLs and saving data to disk.
The primary entry point for a Fetcher is method fetch, which must be implemented by the derived classes.
fetch
Returns the full name for the given i<file> in the configured spool directory.
Returns the full URL for the given i<path>, possibly relative to url.
Saves the contents of dataref to the spooldir, using image as the name for the file.
See also: spoolfile.
Generates and saves the HTML fragment for this comic to the spooldir, using html as the name for the file.
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.