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

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: timethese Chapter 8
Standard Modules
Next: 8.22 Benchmark
 

timethis

timethis (

count

, 

code

[, 

title

[, 

style

]])

Runs a chunk of code several times. Always exported. Takes the following arguments:

count

The number of times to run the loop.

code

The code to run, specified as either a code reference or a string.

title

The title of the result; default is "timethis COUNT" .

style

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


Previous: Reference: timethese Perl in a Nutshell Next: 8.22 Benchmark
Reference: timethese Book Index 8.22 Benchmark