DaveMonk has asked for the wisdom of the Perl Monks concerning the following question:
I am using warnings and strict in my code. Do I need the IO::Socket::INET in the for loop, or, whats happening? :([...] for (my $i = 0; $i < 10; $i++) { $socket->recv(my $word, 1024); print "Your new word is: $word\n"; } [...]
NOTE: $socket is also declared in the first scope of code
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Getting values from server
by roboticus (Chancellor) on May 21, 2012 at 17:18 UTC | |
|
Re: Getting values from server
by BrowserUk (Patriarch) on May 21, 2012 at 18:05 UTC | |
|
Re: Getting values from server
by zentara (Cardinal) on May 21, 2012 at 20:19 UTC |