Db::Mediasurface - manipulates a Mediasurface database.
This document refers to version 0.03 of DB::Mediasurface, released August 3, 2001.
use Db::Mediasurface; $path = '/opt/ms/3.0/etc/ms.properties'; $ms = Db::Mediasurface->new( config_file=>$path ); print ("Schema version: ".$ms->version."\n"); use Db::Mediasurface; use Db::Mediasurface::ReadConfig; $path = '/opt/ms/3.0/etc/ms.properties'; $config = Db::Mediasurface::Readconfig->new( config=>$path ); $ms = Db::Mediasurface->new( config=>$config ); print ("Schema version: ".$ms->version."\n");
Db::Mediasurface is a wrapper for most other Db::Mediasurface:: modules. At present, only the new() and version() methods are supported.
Create a new Db::Mediasurface object by supplying either the path to a valid Mediasurface configuration file (usually named ms.properties), or a Db::Mediasurface::ReadConfig object.
Returns the database schema version.
Nigel Wetters (nwetters@cpan.org)
Copyright (c) 2001, Nigel Wetters. All Rights Reserved. This module is free software. It may be used, redistributed and/or modified under the same terms as Perl itself.
To install Db::Mediasurface, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Db::Mediasurface
CPAN shell
perl -MCPAN -e shell install Db::Mediasurface
For more information on module installation, please visit the detailed CPAN module installation guide.