On Sun, 27 Jan 2002, Darrell May wrote:
> > I would like to use another db file in expanding templates whereby I may > easily call the variables using the syntax: > > { $variable_name } > > What is the correct way to get 'use e-smith::db;' to read another db file > in this manner? > > My preference would be to have both '/home/e-smith/configuration' plus > '/home/e-smith/my_new_db' active at the same time. I think this'll do it: tie my %conf, 'esmith::config'; tie my %other_conf, 'esmith::config', '/home/e-smith/my_new_db'; esmith::util::processTemplate ({CONFREF => { %conf, %other_conf }, .... }); -- Charlie Brady [EMAIL PROTECTED] Lead Product Developer Network Server Solutions Group http://www.e-smith.com/ Mitel Networks Corporation http://www.mitel.com/ Phone: +1 (613) 368 4376 or 564 8000 Fax: +1 (613) 564 7739 -- 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