Difference between revisions of "Esmith::DomainsDB"
From SME Server
Jump to navigationJump to search (→NAME) |
|||
Line 1: | Line 1: | ||
=== NAME === | === NAME === | ||
− | esmith::DomainsDB - interface to esmith domains database | + | esmith::DomainsDB - interface to esmith domains database |
In a root terminal you can do the command below if you want to display the up-to-date content | In a root terminal you can do the command below if you want to display the up-to-date content | ||
perldoc -U esmith::DomainsDB | perldoc -U esmith::DomainsDB |
Revision as of 16:45, 20 December 2013
NAME
esmith::DomainsDB - interface to esmith domains database
In a root terminal you can do the command below if you want to display the up-to-date content
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>