webshark has asked for the wisdom of the Perl Monks concerning the following question:
use IO::Socket; my $sock = new IO::Socket::INET("$remote_server:43") || die $!; print $sock "$data\r\n"; my @output = <$sock>; $output = join('', @output); if ($output =~ /$no_match/gi) { &true; } else { &false;
20051202 Janitored by Corion: Put code in code tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: loop control
by monarch (Priest) on Dec 02, 2005 at 12:42 UTC | |
by jhourcle (Prior) on Dec 02, 2005 at 12:55 UTC | |
by webshark (Acolyte) on Dec 02, 2005 at 13:50 UTC | |
by webshark (Acolyte) on Dec 06, 2005 at 11:13 UTC | |
by webshark (Acolyte) on Dec 10, 2005 at 12:41 UTC |