Hello All,

I am looking for a simple way to determine the time taken by any Perl
script.

A specific module to determine the time of execution will also do.

After the Perl script gets executed, at the end it should print the time it
took to for the execution.

So just like we execute SQL queries on MySQL and get the time in which the
results were fetched, I am looking for something similar in Perl.

One simple approach would be to store the system at the start and again get
the time at the end. Subtract former from later. Do some calculations,
formatting and get the time of execution.

But is there a simpler way than this?

Cheers,
Parag

Reply via email to