or
$socket[$counter]->print("foo\n")
or even
$sock = $socket[$counter]; print $sock "foo\n"
In reply to Re: IO::Socket and variables by no_slogan in thread IO::Socket and variables by dynamopsychism