in reply to NTP and perl

Kludgy (at least for some values of kludgy), but you could always run ntpdate via backticks or pipes and then parse out the information it returns.