From: Perl 5 Porters Date: Fri, 20 Sep 1996 14:08:33 +0000 (+0100) Subject: perl 5.003_06: lib/Benchmark.pm X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a24a9dfe419a4e896a2dc07fc8b6a50598344a7b;p=p5sagit%2Fp5-mst-13.2.git perl 5.003_06: lib/Benchmark.pm Date: Sat, 28 Sep 1996 17:01:22 +0300 (EET DST) From: Jarkko Hietaniemi Subject: a really really tiny typo Date: Fri, 20 Sep 1996 15:08:33 +0100 (BST) From: "Joseph S. Myers" Subject: Pod typos, pod2man bugs, and miscellaneous installation comments Here is a patch for various typos and other defects in the Perl 5.003_05 pods, including the pods embedded in library modules. --- diff --git a/lib/Benchmark.pm b/lib/Benchmark.pm index 9929e6e..c382fcb 100644 --- a/lib/Benchmark.pm +++ b/lib/Benchmark.pm @@ -40,7 +40,7 @@ Returns the current time. Example: # ... your code here ... $t1 = new Benchmark; $td = timediff($t1, $t0); - print "the code took:",timestr($dt),"\n"; + print "the code took:",timestr($td),"\n"; =item debug @@ -146,14 +146,14 @@ than a short test; try: The system time of the null loop might be slightly more than the system time of the loop with the actual -code and therefore the difference might end up being < 0. +code and therefore the difference might end up being E 0. More documentation is needed :-( especially for styles and formats. =head1 AUTHORS -Jarkko Hietaniemi , -Tim Bunce +Jarkko Hietaniemi EFE, +Tim Bunce EFE =head1 MODIFICATION HISTORY