#!/usr/local/bin/perl -w
use blib;
use Net::Time qw(inet_time inet_daytime);
print inet_daytime('localhost');
print inet_daytime('localhost','tcp');
print inet_daytime('localhost','udp');
print inet_time('localhost'),"\n";
print inet_time('localhost','tcp'),"\n";
print inet_time('localhost','udp'),"\n";
|