Hello paul,

Tuesday, July 17, 2001, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


pzcu> So I am finally tightening up my code using strict and -w.
[...]
pzcu> Produces the warning:

pzcu> "Use of uninitialized value in string ne at logisys.pl line 139, <FILE> line 3"

pzcu> Even though the initialise line is there.

pzcu> Any ideas?
please show full source;
your part has succesfully checked by my perl.

use strict;
my ($reason2, @theline, %headers, $s_port);
$reason2        = @theline[$headers{"reason\:"}];
$s_port         = @theline[$headers{"s_port"}];
if(($reason2 ne "unknown established TCP packet") and ($s_port ne "nameserver"))
{
}

D:\temp>perl -cw t.pl
t.pl syntax OK



Best wishes,
 Maxim                            mailto:[EMAIL PROTECTED]



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to