dynamopsychism has asked for the wisdom of the Perl Monks concerning the following question:
but when I try to print to one of the sockets with any of the following:my @socket; for ($counter = 0; $counter < @remote_port; ++$counter) { $socket[$counter] = IO::Socket::INET->new(PeerPort => $remote +_port[$counter]
orprint $socket[$counter] "sp100\r";
I get various errors, such as:print($socket[$counter], "sp100\r");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: IO::Socket and variables
by no_slogan (Deacon) on May 22, 2001 at 02:13 UTC | |
by arturo (Vicar) on May 22, 2001 at 02:27 UTC |