Zoffix Znet > App-ZofCMS > App::ZofCMS::Plugin::RandomBashOrgQuote

Download:
App-ZofCMS-1.001004.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 1.001004   Source  

NAME ^

App::ZofCMS::Plugin::RandomBashOrgQuote - tiny plugin to fetch random quotes from http://bash.org/

SYNOPSIS ^

Include the plugin

    plugins => [
        qw/RandomBashOrgQuote/
    ],

In HTML::Template file:

    <pre><tmpl_var escape='html' name='plug_random_bash_org_quote'></pre>

DESCRIPTION ^

The module is a plugin for App::ZofCMS that provides means to fetch a random quote from http://bash.org/.

This documentation assumes you've read App::ZofCMS, App::ZofCMS::Config and App::ZofCMS::Template

TO RUN THE PLUGIN ^

    plugins => [
        qw/RandomBashOrgQuote/
    ],

Unlike many other plugins, this plugin does not have any configuration options and will run if it's included in the list of plugins to run.

OUTPUT ^

    <pre><tmpl_var escape='html' name='plug_random_bash_org_quote'></pre>

Plugin will set $t->{t}{plug_random_bash_org_quote} to the fetched random quote or to an error message if an error occured; in case of an error the message will be prefixed with Error: (in case you wanna mingle with that).

REPOSITORY ^

Fork this module on GitHub: https://github.com/zoffixznet/App-ZofCMS

BUGS ^

To report bugs or request features, please use https://github.com/zoffixznet/App-ZofCMS/issues

If you can't access GitHub, you can email your request to bug-App-ZofCMS at rt.cpan.org

AUTHOR ^

Zoffix Znet <zoffix at cpan.org> (http://zoffix.com/, http://haslayout.net/)

LICENSE ^

You can use and distribute this module under the same terms as Perl itself. See the LICENSE file included in this distribution for complete details.

syntax highlighting: