5.1 Guidance

When creating a new export module to be used in Xestia Scanner Server, the following is required:

When creating a new export module, at the top of the page the following should be inserted:

package Modules::Export::(modulename);

use strict;
use warnings;

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


Replace (modulename) with the name of the module like Download (which means Download export module).

'use strict' and 'use warnings' isn't required but it is generally accepted that Perl scripts and modules should have 'use strict' and 'use warnings' lines written.

Replace (version) with the internal version number of the module.