in reply to Re: Problem handling 2 simultaneous socket streams
in thread Problem handling 2 simultaneous socket streams

Good catch. Absolutely use use strict;. Even more important than use warnings; or -w.