Does anybody have any suggestions on improving this snippet? I assume it's fine as it is, but if there's anything glaring please let me know!my $socket = IO::Socket::INET->new( PeerAddr => $cacheServer, PeerPort => $cachePort, Proto => 'tcp' ); if( $socket ) { print "Connected to $cacheServer at tcp port $cachePort\n"; close( $socket ); } else { print "*** Couldn't connect to $cacheServer at tcp port $cachePort +!!\n"; }
In reply to Found a solution
by spaz
in thread HTTP Proxy Detection
by spaz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |