NAME

cs::MyDB - do stuff with my database


SYNOPSIS

use cs::MyDB;


DESCRIPTION


GENERAL FUNCTIONS

mydb(mysql-id,dbname)

Return a database handle for my personal mysql installation. mysql-id is an optional string representing the database to contact; it defaults to mysql@systemid where systemid comes from the SYSTEMID environment variable. This key is passed to cs::Secret::get to obtain the database login keys. dbname is the name of the database to which to attach. It defaults to CS_DB.

fileByPath(path)

Return a cs::MyDB::File object given a pathname.


AUTHOR

Cameron Simpson <cs@zip.com.au>