in reply to Test for daemon

If you want to check to see if a network server/daemon is running and actually responding to queries, it might be worthwhile using something like Net::Ping to ping the relevant port on whatever host is running the service.

You could always combine this with using Proc::ProcessTable as robartes suggested.

Of course, if it's not a network service, my suggestion is a bit redundant :-)

Cheers.

BazB