in reply to to write /etc/init.d/ntpd start

You may also want to look at IPC::Run, which is a module that allows you much more control over STDOUT, STDERR, return codes, and much more