On 20/01/03 Greg Zartman did say:

> Does this module perform as documented?
> 
> If I create a very simply script that calles the module:
> use esmith::DB;
> $test = esmith::DB->open('configuration');
> print "OK, test past;

    esmith::DB is the parent class for the other DB classes. There is a
subclass with a specific implementation for each database type. So, if you
want the configuration database...

[root@sashimi root]# perl -de 0
Default die handler restored.

Loading DB routines from perl5db.pl version 1.07
Editor support available.

Enter h or `h h' for help, or `man perldebug' for more help.

main::(-e:1):   0
  DB<1> use esmith::ConfigDB

  DB<2> $db = esmith::ConfigDB->open

  DB<3> $sysmode = $db->get('SystemMode')

  DB<4> p $sysmode
esmith::ConfigDB::Record=HASH(0x837d794)
  DB<5> p $sysmode->value
serveronly

    esmith::DB is intended as an abstract class, and should never be
instantiated directly. 

    Cheers,
    Mike

-- 
Michael P. Soulier <[EMAIL PROTECTED]>, 613-592-2122 x2522
SME Solutions, Mitel Networks Corporation
"...the word HACK is used as a verb to indicate a massive amount
of nerd-like effort."  -Harley Hahn, A Student's Guide to Unix

--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Searchable archive at http://www.mail-archive.com/devinfo%40lists.e-smith.org

Reply via email to