Changes

Jump to navigation Jump to search
173 bytes added ,  09:10, 12 August 2015
Line 60: Line 60:     
Should the $new_config_file already exist or for some reason you can't write to it, esmith::DB->error will return the reason and create() will return false.
 
Should the $new_config_file already exist or for some reason you can't write to it, esmith::DB->error will return the reason and create() will return false.
 +
 +
example for creating and using a custom database in one line:
 +
my $f2bdb = esmith::ConfigDB->open('YOUR_DATABASE_NAME') || esmith::ConfigDB->create('YOUR_DATABASE_NAME');
 +
 
===== open =====
 
===== open =====
  

Navigation menu