develooper Front page | perl.beginners | Postings from February 2002

RE: Sockets in an array

Thread Previous | Thread Next
Richard Smith
February 25, 2002 10:30
RE: Sockets in an array
Message ID:
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 reference 
to it?

> 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. The rule of thumb should be : ...

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About