start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: timestr Chapter 8
Standard Modules
Next: Reference: timethis
 

timethese

timethese (

count

, \%

codehashref

[, 

style

])

Times each of several pieces of code and reports the results separately. Always exported. Takes the following arguments:

count

The number of times to run the loop.

odehashref

Reference to a hash where the keys are names and the values are either strings or code references; each key/value pair specifies a piece of code to run.

style

Determines the format of the output. See timestr for the possible values of style .


Previous: Reference: timestr Perl in a Nutshell Next: Reference: timethis
Reference: timestr Book Index Reference: timethis