sockets - an object-oriented client example
# create the socket and connect to the host
$remote = IO::Socket::INET->new(
$timestamp = <$remote> # read a line of data from the socket
print "$timestamp\n"; # print the results
close($remote); # close the socket