Not a developer? Go to


System Initialization

Before using (loading, saving, removing) an MT::Object class and its objects, you must always initialize the Movable Type system. This is done with the following lines of code:

use MT;
my $mt = MT->new;

Constructing a new MT objects loads the system configuration from the mt.cfg configuration file, then initializes the object driver that will be used to manage serialized objects.