next up previous contents
Next: The Piler and the Up: Components of MIC Previous: The `Site': MIC-HTML   Contents

The Control File

A control file is a file which, by convention, contains all the special MIC-defined subroutines setup, cleanup and handle_exception, which are useful programs to have for a given pile. 1.4 These special files are discussed in detail later.

The control file must be named 'control.pl' and will be copied literally into the pile. This means that one should not HTML-escape within this file, since it is pure Perl code. One may wish to put some library subroutines in this file, although this is discouraged unless the subroutines are used directly and primarily by the special MIC-defined subroutines mentioned above. The recommended way of including library functions for use in the MIC code is to place the library file at the top of the control file and then calling the functions normally.