Creating a new object
To create a new object of an MT::Object
class, use the new
method:
my $foo = MT::Foo->new;
new
takes no arguments, and simply initializes a new in-memory object.
In fact, you need not ever save this object to disk; it can be used as a
purely in* memory object.