So I am finally tightening up my code using strict and -w.

I have:

<code>
        $reason2        = @theline[$headers{"reason\:"}];
        $s_port         = @theline[$headers{"s_port"}];
        if(($reason2 ne "unknown established TCP packet") and ($s_port ne 
"nameserver")) 
        {
                       ....blah
        }

</code>

Produces the warning:

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

Even though the initialise line is there.

Any ideas?

Paul.



------------------------------------------------
Global WebMail -
  Delivered by Global Internet www.global.net.uk
------------------------------------------------




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

Reply via email to