From: Richard Smith <[EMAIL PROTECTED]>
> I have had problems using "my" when refering to File Handles,
> especially when I wish to pass them to subroutines. I have also had
> problems declaring them with $ or @, and have been forced to use:
> local *logHandle; Is this because
Hi Jenda,
I have had problems using "my" when refering to File Handles, especially
when I wish to pass them to subroutines. I have also had problems
declaring them with $ or @, and have been
forced to use:
local *logHandle;
Is this because I am declaring the actual filehandle, and not a refer
From: Richard Smith <[EMAIL PROTECTED]>
> > $newsocket[$i] = IO::Socket::INET->new("$address") or die $@;
>
> How are you declaring "newsocket"? I would probably decare it as
> "local" rather than as "my". Worth a try anyway. Unfortunately I
> can't try it here. Thanks, Smiddy
Please don't.
> $newsocket[$i] = IO::Socket::INET->new("$address") or die $@;
How are you declaring "newsocket"? I would probably decare it as "local" rather than
as "my".
Worth a try anyway. Unfortunately I can't try it here.
Thanks,
Smiddy
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Girish Chandran wrote:
>
> Hi,
>
> I have the following problem.
>
> Context:
> I am trying to open multiple sockets to multiple IP address.
> I want to use the same piece of code to do that.
> The IP addresses and port numbers are stored in a file.
>
> The program:
> I read the file, open the
.
-Original Message-
From: Girish Chandran [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 22, 2002 4:53 PM
To: [EMAIL PROTECTED]
Subject: Sockets in an array
Hi,
I have the following problem.
Context:
I am trying to open multiple sockets to multiple IP address.
I want to use the same piece of
Hi,
I have the following problem.
Context:
I am trying to open multiple sockets to multiple IP address.
I want to use the same piece of code to do that.
The IP addresses and port numbers are stored in a file.
The program:
I read the file, open the sockets in sequence.
The sockets (globs/hand