Templer::Plugin::ShellCommand - A plugin to execute commands.
The following is a good example use of this plugin
title: About my site hostname: run_command( hostname ) uptime: run_command( uptime ) ---- <p>This is <!-- tmpl_var name='hostname' -->, with uptime of <!-- tmpl_var name='uptime' -->.</p>
This plugin allows template variables to be set to the output of executing shell-commands.
This module is free software; you can redistribute it and/or modify it under the terms of either:
a) the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version, or
b) the Perl "Artistic License".
Steve Kemp <firstname.lastname@example.org>
Copyright (C) 2012-2015 Steve Kemp <email@example.com>.
This library is free software. You can modify and or distribute it under the same terms as Perl itself.
Constructor. No arguments are required/supported.
Variables are written in the file in the form "key: value", and are internally stored within the Page object as a hash.
This method iterates over each key & value and updates any that seem to refer to shell commands.