in reply to Re^2: Pass a IO::Socket handle to a threadin thread Pass a IO::Socket handle to a thread
Also, you should read perlintro and use eq to compare strings