
Module::Packaged::Generator::DB - database encapsulation

version 1.111930

This module encapsulates database creation, insertion and stuff like this.

The path to the sqlite database file (a string). Required.

$db->create;
Force database creation.
$db->insert_module( $module );
Insert $module (a Module::Packaged::Generator::Module object) in the database.
$db->create_indices;
Create indices on the various columns of the module table to make it faster.
$db->close;
Close database and move it to its final location.

Jerome Quelin

This software is copyright (c) 2010 by Jerome Quelin.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.