Emmanuel Saracco <[EMAIL PROTECTED]> said:

> hi,
>
> what is the correct way to save data from a custom module?

If you data entries are small, using one of the existing db files found in
/home/e-smith/ that matches your keys type may suit your needs.

However, if your data entries are extensive or unique, you may find a
separate db file fits your needs better.  It certainly provides a clear
separation that this is a contrib db file.

To use the new file in actions and functions simply do this:

my %db_file;
tie %db_file, 'esmith::config', '/home/e-smith/db_file';

Then follow /sbin/e-smith/db syntax for setting/retreiving data.

Regards,

--
Darrell May
DMC Netsourced.com
http://netsourced.com
http://myEZserver.com


--
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]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org

Reply via email to