T2::Schema is a Perl module that contains Tangram Schemas, suitable for putting in a Tangram Store.
my $schema = T2::Schema->load("site"); $schema->compile();
This is actually a constructor :-).
Load the schema for site and return it.
$source, if given, may be a Tangram::Storage object - in which case it is assumed to be the schema database. If missing, T2::Storage->connect() is used to obtain a handle to the schema database.
$source may also be the correct Schema object, for convenience. In this case it is returned unchanged.