Perl equivalent of the unix time command

2008-09-07 Thread Melroy
Hi all, Is there a perl equiavelnt of the unix time command to find out how long a given process takes to run? google search revealed no help. The only thing I found was the times command, but I don't think it does what I want. (Basically I want to find out how long a given process takes to run -

Perl equivalent of Unix time command

2008-09-07 Thread Melroy
Hi all, I want to benchmark a bunch of running processes using Perl , but I could not find any equivalent for the unic time coammnd in perl? Can someone point to me if such a function exists in perl? The only command I found was "times", but I don't know how to use it. doing a websearch did not hel