Changes

From SME Server
Jump to navigationJump to search
895 bytes added ,  15:21, 10 December 2013
Created page with "NAME esmith::DomainsDB - interface to esmith domains database in a root terminal you can do perldoc -U esmith::DomainsDB === SYNOPSIS === use esmith::DomainsDB; ..."
NAME
esmith::DomainsDB - interface to esmith domains database
in a root terminal you can do
perldoc -U esmith::DomainsDB

=== SYNOPSIS ===
use esmith::DomainsDB;
my $c = esmith::DomainsDB->open;

# everything else works just like esmith::DB::db

=== DESCRIPTION ===
This module provides an abstracted interface to the esmith domain database.

Unless otherwise noted, esmith::DomainsDB acts like esmith::DB::db.

==== open() ====

Like esmith::DB->open, but if given no $file it will try to open the file in the ESMITH_DOMAINS_DB environment variable or domains.

==== open_ro() ====

Like esmith::DB->open_ro, but if given no $file it will try to open the file in the ESMITH_DOMAINS_DB environment variable or domains.

=== AUTHOR ===
SME Server Developers <bugs@e-smith.com>
[[Category:Developer]]
[[Category:SME Server Development Framework]]
[[Category:Development Tools]]

Navigation menu