Making socket connections is easy with the IO::Socket::INET module:
use IO::Socket::INET; my $hostname = "localhost"; my $port = 19; $sock = IO::Socket::INET->new("$hostname:$port") or die "unable to connect: $!\n"; while (<$sock>) { ... # process line of data here } close($sock);
In reply to Re: Get data from a file and put it in a Tk Entry
by pc88mxer
in thread Get data from a file and put it in a Tk Entry
by padawan_linuxero
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |