On Tue, 29 Jan 2002, Darrell May wrote:

> Charlie Brady <[EMAIL PROTECTED]> said:
>
> > tie my %conf, 'esmith::config';
> > tie my %other_conf, 'esmith::config', '/home/e-smith/my_new_db';
> >
> > esmith::util::processTemplate ({CONFREF => { %conf, %other_conf },
> > ....
> > });
>
> Thanks Charlie.  I might be missing something, (would not be the first
> time) but using the above format I get this result:
>
> #----------------------------------------------------------------
> # DO NOT MODIFY THIS FILE! It is updated automatically by the
> # e-smith server and gateway software. Instead, modify the source
> # template in the /etc/e-smith/templates directory.
> #----------------------------------------------------------------
> Program fragment at line 1 delivered error ``syntax error''

I was proposing what you put in your action script, not in a template
(just checking). And you will need "use strict; use esmith::config; use
esmith::db;" etc.

And of course you understand that I shouldn't be expected to solve this
problem for you.

--
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

Reply via email to