On 12 Jul 2002 19:03:43 -0000, [EMAIL PROTECTED] (Felix
Geerinckx) wrote:

>on Fri, 12 Jul 2002 15:35:06 GMT, Zentara wrote:
>
>> On 12 Jul 2002 12:16:39 -0000, [EMAIL PROTECTED] (Felix
>> Geerinckx) wrote:
>> 
>>>on Thu, 11 Jul 2002 11:26:05 GMT, Octavian Rasnita wrote:
>>>
>>>> I want to calculate how much time a Perl script runs.
>>>> Can you tell me how to calculate using fractions of a second?
>
>> [...]
>
>> The select function works too.
>> select(undef,undef,undef,.05);
>> 
>> gives a 5 millisecond delay
>> 
>> perldoc -f select
>
>And how would you use this to determine the running time of a Perl 
>program?

Good question. :-)  I guess you would need to use a loop and some
sort of IPC.

I would use time, myself.  

time myscript.pl






-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to