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 the instance of the given namespace class which inherits Teng.
namespace
The arguments are:
dbh
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.