Rubric::DBI::Setup - db initialization routines
version 0.155
use strict; use warnings; use Rubric::DBI::Setup; Rubric::DBI::Setup->setup_tables;
This method returns a connection to the Rubric database.
This method builds the tables in the database, if needed.
attempts to convert the given sql syntax to the given DBD Driver's
This attempts to determine the version of the database schema to which the given database conforms. All recent schemata store their version number; for older versions, some simple table attributes are checked.
Returns the type of db being used, based on the DSN's DBD driver. SQLite and Pg support only right now.
This method will try to upgrade the database to the most recent schema. It's sort of ugly, but it works...
Ricardo SIGNES <rjbs@cpan.org>
This software is copyright (c) 2004 by Ricardo SIGNES.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Rubric, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Rubric
CPAN shell
perl -MCPAN -e shell install Rubric
For more information on module installation, please visit the detailed CPAN module installation guide.