4.1 Guidance

When creating a new output module to be used in Kiriwrite, the following below is required.

When creating a new output module, at the top of the page the following should be inserted at the very minimum using the Normal module as an example:

package Modules::Output::Normal;

use strict;
use warnings;
use Encode qw(decode_utf8);
use Tie::IxHash;

our $VERSION = "0.5.0";
my ($pages, %pages);
my $error_flag = 0;
my $error_message = "";
my $language_name = "";
my %optionshash = ();

tie(%pages, "Tie::IxHash");


If a subroutine is not needed then create the subroutine which is not needed and insert the return command for that subroutine.