PkgForge::Registry::Schema - The Package Forge registry schema class
This documentation refers to PkgForge::Registry::Schema version 1.3.0
use PkgForge::Registry::Schema; my $schema = PkgForge::Registry::Schema->connect( $dsn, $user, $pass, \%opts );
This module provides access to the DBIx::Class layer which is used to provide an interface to the Package Forge registry database.
This class has one method:
This takes the DBI Data Source Name (DSN) and, optionally, a username and password to be used for connecting to the database. It can also take a reference to a hash of options which control how the DBI layer functions. A schema object is returned, see DBIx::Class::Schema for details of the available methods for this object.
This class is not normally loaded directly, instead the PkgForge::Registry module has support for retrieving the database configuration parameters from a configuration file, see that module for details.
This module requires DBIx::Class, you will also need a DBI driver module such as DBD::Pg.
PkgForge
This is the list of platforms on which we have tested this software. We expect this software to work on any Unix-like platform which is supported by Perl.
ScientificLinux5, Fedora13
Please report any bugs or problems (or praise!) to bugs@lcfg.org, feedback and patches are also always very welcome.
Stephen Quinney <squinney@inf.ed.ac.uk>
Copyright (C) 2010 University of Edinburgh. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the terms of the GPL, version 2 or later.
To install PkgForge::Registry, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PkgForge::Registry
CPAN shell
perl -MCPAN -e shell install PkgForge::Registry
For more information on module installation, please visit the detailed CPAN module installation guide.