On Thursday 22 February 2007 00:09, Joe Morris (NTM) wrote:
> John Summerfield wrote:
> > On Tuesday 20 February 2007 23:20, Joe Morris (NTM) wrote:
> >> I know very little about this problem, so I will share what I know and
> >> if anyone knows perl if you can give me a hint. Problem is this line in
> >> ddclient,
> >> debug("glo fw = $globals{'fw'}");,
> >>
> >> which causes this error when run,
> >> Use of uninitialized value in concatenation (.) or string at
> >> /usr/sbin/ddclient line 1646.
> >
> > What version of ddclient?
> > I'm using 3.3.7 (on CentOS) and do not have a problem, even though it has
> > that line:
> > 1644 debug("server = $server");
> > 1645 debug("opt(fw = ",opt('fw'));
> > 1646 debug("glo fw = $globals{'fw'}");
> >
> > Hang on, what's that at the end of line 1646 in yours?
>
> Well, a bit more digging and looking around the file (after thinking
> through what I learned from Patrick yesterday, I think I got it. At
> least it looks right to me and works. The bug is in that line. I
> changed it to debug("glo fw = ",$globals{'fw'});
> I have no real idea what that does, but it looked different to the one
> above it, and they seemed to be very similar (and I changed the the line
> 1645 to be like 1646 and that still didn't work, but making the 1646
> line like the 1645 line allowed it to work, and running with debug (an
> option I found looking in the script) output looks correct. Thanks for
> your help. If this looks correct, please let me know so I can file a
> bug report. Thanks.
Your response confuses me, but that comma is definitely wrong: Perl statements
are (mostly, and this one is) separated by semicolons, and the comma is not a
good way to start a new one.
If you didn't put it there, it's a fairly important bug, as you noticed:-)
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]