in reply to Re: cannot get Benchmark to work
in thread cannot get Benchmark to work
Another approach (usually recommended with Benchark) is to provide a string to eval rather than a subroutine reference(Bold is mine). I dropped into the Benchmark documentation, and I indeed found:
a code reference will show a slightly slower execution time than the equivalent eval'd stringI only wonder... why?
Flavio
perl -ple'$_=reverse' <<<ti.xittelop@oivalf
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: cannot get Benchmark to work
by fishbot_v2 (Chaplain) on Jul 04, 2005 at 15:05 UTC | |
|
Re^3: cannot get Benchmark to work
by Anonymous Monk on Jul 05, 2005 at 11:51 UTC |