in reply to Re: Why? uninitialized value in pattern match when using if (defined)
in thread Why? uninitialized value in pattern match when using if (defined)
Maybe so. Though we don't now by now, what the warning actually refers to.
The OP is not very clear about this, but the consensus in the replies seems to be that the offending operation takes place inside a block guarded with:
if ($factories{$tmpf})
If $factories{$tmpf} had been undef, perl would not have reached the inside of that conditional block.
Of course this is also pure guesswork, unless the OP succeds in posting some code to reproduce the problem. :-D
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Why? uninitialized value in pattern match when using if (defined)
by kwaping (Priest) on Mar 22, 2006 at 22:51 UTC | |
by Dervish (Friar) on Mar 23, 2006 at 02:14 UTC |