in reply to Re: Re: Benchmark Wrapper
in thread Benchmark Wrapper
You could write a subroutine to put before and after the loop. Before the loop, you could have it return the time, and after the loop feed it that time and return the difference. That's the only way I can think of.
my $name = 'Ben Kittrell'; $name=~s/^(.+)\s(.).+$/\L$1$2/g; my $nick = 'tha' . $name . 'sta';
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Benchmark Wrapper
by Albannach (Monsignor) on Apr 05, 2001 at 00:26 UTC |