in reply to Re: Uninitialized value in string eq error but I initialized
in thread Uninitialized value in string eq error but I initialized

Thanks for the answer(s).
definitely the colum is there. It is a middle column and I am getting the error literally thousandtimes (every line I guess).

The part causing troubles is:

foreach my $id (@ids) { if ($id eq $NSC) { print MY $line; } }
and the uninitialized value is *** $id. ***. And it causes the error, I get the result but probably because thousands of error messages it takes longer time. Could the error be caused by the fact that i declared my @ids=()? I will check those libraries definitely, but it would take a begginer some time, so I am still seeking my error. Tx. to all karpatov

Replies are listed 'Best First'.
Re^3: Uninitialized value in string eq error but I initialized
by Anonymous Monk on Jan 05, 2008 at 23:11 UTC
    Well I incorported the recommended warn code (and will use the trick latter as well), but it is not executed, and the error is really on every single line :-(.