App::ZofCMS::Plugin::RandomBashOrgQuote - tiny plugin to fetch random quotes from http://bash.org/
Include the plugin
plugins => [ qw/RandomBashOrgQuote/ ],
In HTML::Template file:
<pre><tmpl_var escape='html' name='plug_random_bash_org_quote'></pre>
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
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.
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).
$t->{t}{plug_random_bash_org_quote}
Error:
Fork this module on GitHub: https://github.com/zoffixznet/App-ZofCMS
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
bug-App-ZofCMS at rt.cpan.org
Zoffix Znet <zoffix at cpan.org> (http://zoffix.com/, http://haslayout.net/)
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.
LICENSE
To install App::ZofCMS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::ZofCMS
CPAN shell
perl -MCPAN -e shell install App::ZofCMS
For more information on module installation, please visit the detailed CPAN module installation guide.