Re: Using Config files and variables.



On 7/31/05, christopher.l.hood@xxxxxxxxxxx
<christopher.l.hood@xxxxxxxxxxx> wrote:
> problem is that the variables in the config are not being translated into
> there actual values before they get used.

So you have a plaintext config file with variable names in it that you
want perl to interpolate at some point once the config data is loaded.

> my $sth = $dbh->prepare(qq{$QUERY});
> #print "DEBUG: $QUERY\n";

What does this debug print give you?

> query= <<END
> SELECT N.IP_ADDRESS,
[snip]
> AND CAA.ADDRESS_ID = AD.ADDRESS_ID
> AND P.NODE_ADDRESS = $dslam
> AND N.IP_ADDRESS = $ip_address
> END
.



Relevant Pages

  • Re: Linux 2.6.15-rc2
    ... Gene has sent me a copy of his .config ... ... do you have v4l-kernel cvs installed on top of kernel 2.6.15-rc2? ...
    (Linux-Kernel)
  • Re: VNC over SSH and SOCKS
    ... The first is that some "ssh" binaries are setuid root (because they need ... The second possibility is the socks config itself. ... *INCLUDING* the bindto the socks server". ...
    (comp.security.ssh)
  • Re: Machine wont Boot - Sort of
    ... Someone with a unipod will have to advise. ... *Config. ... ADFS discs = 0 in Discs -> Configure ...
    (comp.sys.acorn.hardware)
  • Re: Xeon hyperthreading problem
    ... Michel Bardiaux wrote: ... >> I thought this was set by affinity, but if so, I do not understand the ... of kernel config that has to be turned on during 'make xconfig'? ...
    (comp.os.linux.setup)
  • Re: OpenVMS 7.3-1 halts during install
    ... I mis-read the config - he is not using the Intel SIO chip ... 64 Meg of System Memory ...
    (comp.os.vms)