于 2011-3-16 8:31, Daniel Calvo 写道:
    while (<$fh>) {
    print;
   }


For the first look, you shouldn't be using <> for receiving data from the socket. For more details, please loot at this article and its comments:

http://www.perlfect.com/articles/select.shtml

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to