NAME

Db::Mediasurface - manipulates a Mediasurface database.

VERSION

This document refers to version 0.03 of DB::Mediasurface, released August 3, 2001.

SYNOPSIS

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");

DESCRIPTION

Overview

Db::Mediasurface is a wrapper for most other Db::Mediasurface:: modules. At present, only the new() and version() methods are supported.

Constructor

$ms = Db::Mediasurface->new( config=>$config_object );
$ms = Db::Mediasurface->new( config_file=>$path2config );

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.

Methods

$ms_version = $ms->version;

Returns the database schema version.

AUTHOR

Nigel Wetters (nwetters@cpan.org)

COPYRIGHT

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.