>
> END { warn time - $^T, " seconds elapsed\n" }
>

Thanks...This was what I was precisely looking for ...

Cheers,
Parag




On Sun, Dec 6, 2009 at 7:07 AM, John W. Krahn <jwkr...@shaw.ca> wrote:

> Parag Kalra wrote:
>
>> Hello All,
>>
>
> Hello,
>
>
>  I am looking for a simple way to determine the time taken by any Perl
>> script.
>>
>
> A simple method would be to put this line somewhere in your program:
>
> END { warn time - $^T, " seconds elapsed\n" }
>
>
>
>  A specific module to determine the time of execution will also do.
>>
>
> http://search.cpan.org/~timb/Devel-NYTProf-2.10/lib/Devel/NYTProf.pm<http://search.cpan.org/%7Etimb/Devel-NYTProf-2.10/lib/Devel/NYTProf.pm>
>
> perldoc Benchmark
>
>
>
>
> John
> --
> The programmer is fighting against the two most
> destructive forces in the universe: entropy and
> human stupidity.               -- Damian Conway
>
>
> --
> To unsubscribe, e-mail: beginners-unsubscr...@perl.org
> For additional commands, e-mail: beginners-h...@perl.org
> http://learn.perl.org/
>
>
>

Reply via email to