William Ampeh wrote:
> Your server code will not be able to handle multiple clients. You need to
> undefine $file after closing the client connection. That is:
>
>
> close(FILE) if($file);
> close($client);
> $file = undef; #<-- you omitted this line
> }
good catch. thanks.
david
--
sub'_{print"@_ ";* \ = * __ ,\ & \}
sub'__{print"@_ ";* \ = * ___ ,\ & \}
sub'___{print"@_ ";* \ = * ____ ,\ & \}
sub'____{print"@_,\n"}&{_+Just}(another)->(Perl)->(Hacker)
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>