Changes

From SME Server
Jump to navigationJump to search
153 bytes added ,  10:30, 12 August 2016
Line 22: Line 22:     
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.
 
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.
 +
 +
===Example===
 +
Retrieve the list of all domains in an array
 +
 +
use esmith::DomainsDB;
 +
 +
my $d = esmith::DomainsDB->open_ro();
 +
my @domains = $d->keys();
    
=== AUTHOR ===
 
=== AUTHOR ===

Navigation menu