The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Config::DB::Record - DataBase Configuration Record module

SYNOPSIS

 use Config::DB;
 my $cfg    = Config::DB->new( connect => \@params, tables => \%tables );
 my $rec    = $cfg->get( 'table1', 1 );

DESCRIPTION

This module is used by Config::DB to rapresentate a record.

METHODS

get( $field_name )

It returns a configuration value. Parameter $field_name is the name of the requested field. It dies on missing key value or missing field.

AUTOLOAD

A quicker syntax is offered: following calls are identical...

 my $value1 = $rec->get( 'field1' );
 my $value1 = $rec->_field1;

VERSION

0.2