Teng::Schema::Loader - Dynamic Schema Loader
use Teng; use Teng::Schema::Loader; my $teng = Teng::Schema::Loader->load( dbh => $dbh, namespace => 'MyAPP::DB' );
Teng::Schema::Loader loads schema directly from DB.
This is the method to load schema from DB. It returns instance of Teng::Scehema.
The arguments are:
Database handle from DBI.
your project name space.
To install Teng, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Teng
CPAN shell
perl -MCPAN -e shell install Teng
For more information on module installation, please visit the detailed CPAN module installation guide.