command_doc - Scripting system commands in an OpenOffice.org document
This sample script triggers an external program each time a given string is found in a given OpenOffice.org Writer document
usage : command_doc filename -command "command" -trigger "trigger_string"
The "command" option is executed using the shell (so it depends on the target program name and the operating system) If the command is successful, the search string is replaced by "PASSED"; in case of failure, there is no replacement
The main goal of this small program is to demonstrate the possibility to control a business process with the content of an OpenOffice.org document.
To install OpenOffice::OODoc, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.