Why are you using the weird globbing construct:
while (defined ($buf = <"$message">)) {
Granted, it could act as a cool filter for weird hostnames that likely won't respond to pings, but I think this should be explained...
In reply to Re^2: Convering Perl socket program into CGI.
by Corion
in thread Convering Perl socket program into CGI.
by rockmountain
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |