[Mimedefang] Getting the error "Use of uninitializedvalue inconcatenation"

Cormack, Ken ken.cormack at roadway.com
Wed Mar 15 13:34:30 EST 2006


David wrote:

> > use warnings;
> > no warnings 'uninitialized';

> Don't do that.

> Perl is trying to tell you something.  It's better to track down and
> fix the problem than to hide it.

Agreed.  I've tried to keep straight those variables that are local /
global, those that are passed back and forth between functions, and so on.
I'm thinking about using the optional "debugging" flag in the SPF query
"(debug => 1, debuglog => sub {print STDERR "@_\n" }" to see if the
particular queries are returning some kind of garbage data, but it's just
"weird".

I may try isolating the query code, parsing the helo's out of my log, and
then run a loop that queries all the helo's.  If I log the output, I might
be able to corrolate garbage returns with the errors in my logs.  Perhaps I
should even compare the returns from this perl-based query, and the output
of a simple "host -t TXT $helo".

Is anyone else using the same SPF query code (from Keith Patton -
http://www.mimedefang.org/kwiki/index.cgi?IntegratingSPF )- as I am, and
noticing any errors?  Anyone have any ideas which value might be coming back
undefined?

Ken




More information about the MIMEDefang mailing list