1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
\r
4 <link href="style.css" REL="stylesheet" TYPE="text/css" MEDIA="screen">
\r
5 <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
\r
6 <title>Kiriwrite - Developer Documentation - 4.1: Guidance</title>
\r
9 <div class="menubarback">
\r
10 <div class="menubar">
\r
11 <a href="index.html">Index</a> | <a href="features.html">Features</a> | <a href="screenshots.html">Screenshots</a> | <a href="download.html">Download</a> | <a href="documentation.html">Documentation</a>
\r
14 <div class="pageinformation">
\r
15 When creating a new output module to be used in Kiriwrite, the following below is required.<br><br>
\r
16 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:<br><br>
\r
19 package Modules::Output::Normal;<br><br>
\r
22 use Encode qw(decode_utf8);<br>
\r
23 use Tie::IxHash;<br><br>
\r
24 our $VERSION = "0.5.0";<br>
\r
25 my ($pages, %pages);<br>
\r
26 my $error_flag = 0;<br>
\r
27 my $error_message = "";<br>
\r
28 my $language_name = "";<br>
\r
29 my %optionshash = ();<br><br>
\r
30 tie(%pages, "Tie::IxHash");
\r
34 If a subroutine is not needed then create the subroutine which is not needed and insert the return command for that subroutine.
\r