http://qs321.pair.com?node_id=293268


in reply to Re: Re: Yet Another Unitialized Value Question
in thread Yet Another Unitialized Value Question

Are you sure you have the right line?
undef $lock; if ($lock) ...
does not cause a warning for me (perl 5.8.0). It's not doing a numerical == comparison.

Have you tried using the debugger?