NAME:

edoc.pl


SYNOPSIS:

perl edoc.pl


DIRECTORY/FILE:

The file edoc.pl is located in the e:doc-rootdirectory


DESCRIPTION:

This script starts the program and displays project window (covered by the object 'PrjForm')from which you can start multiple document windows with different files.

First, it creates the 2 anonymous hashes $main::config and $main::internal . Then it calles the function _load_config to fill these hashes with the data of the files 'edoc.cfg' and 'edoc.int'. Afterwards it creates a new object of the class 'PrjForm' and enters the 'MainLoop' of all Perl/Tk programs.


GLOBAL VARIABLES:

(+) $main:config : A reference to a (big) hash that holds all configuration settings from the file 'edoc.cfg' and all macros form 'edoc.mac' and all other '*.mac'-files

(+) $main:internal : A reference to a (very big) hash that holds all style-definitions from the file 'edoc.int'

(+) $main:project : A reference to a (very big) hash that holds all project definitions from the file 'edoc.prj'

(+) $main::global_parts : A reference to an hash of arrays holding all 'global parts' in clipboard format

(+) @main::clipboard : An global array holding the clipboards content


FUNCTIONS:


_load_configuration_files()

my $ok = _load_configuration_files();

Read the contents of 'edoc.cfg', 'edoc.int', 'edoc.mac', '*.mac' and 'edoc.pts' into the two anonymous hashes referenced by $main::internal, $main::config and $main::global_parts.


KNOWN BUGS:


STILL MISSING: