my $io = io("$host:$port"); while ($_ = $io->getline) { next unless /some_regex/; # do stuff with line }
In reply to Re: use telnet to connect to tcp session and receive data
by Joost
in thread use telnet to connect to tcp session and receive data
by bengmau
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |