Re: Problem with creating a panel
Charlie Brady <[email protected]> Mon, 15 Dec 2003 20:26:19 -0500 (EST)
| Newsgroups | gmane.network.e-smith.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 16 Dec 2003, Thor Anthrax wrote:
> I was trying to store a value from a web panel
>
After you do this:
> my $conf = esmith::ConfigDB->open();
you don't need to do this:
> tie my %conf, 'esmith::config', $conf->file;
The esmith::ConfigDB module obsoletes the "tie" interface of
esmith::config.
> my $req = $conf->get('privoxy');
> $rec->set_prop('status', 'enabled');
>
> When I uncomment the last line I get no error, otherwise I do. What am I
> doing wrong here?
"req" and "rec" are not the same.
Are you not using "use strict;" in your script? The perl compiler usually
picks up errors like this.
--
Charlie Brady [email protected]
Mitel Networks Corporation http://www.mitel.com/
Phone: +1 (613) 592 5660 or 592 2122 Fax: +1 (613) 592 1175
A: Because we read from top to bottom, left to right.
Q: Why should i start my reply below the quoted text?
--
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