On Mon, 26 Nov 2001, Scott R. Godin wrote:
> 
> Elapse.pm is a very simple class with one method: lapse.
> 
> Basically, the lapse method 'eats the brains' of the variable,
> squirrels away whatever value it may have held internally,
> (much like space aliens are known to do in the movies), and also stores 
> the current time within it. Then, whenever you access the value of 
> the variable, the 'alien' within formats the time *differential*
> between when you initialized the variable, and when you printed it, 
> and returns that (along with any value the variable may hold, as well). 

Looks a lot like Time::Stopwatch, except for the fancy output.  I hope
you don't mind me stealing some ideas -- it's about time I got a new
version released, with new bells and whistles.

-- 
Ilmari Karonen - http://www.sci.fi/~iltzu/
"Signal handlers are known to be broken in perl.  Did you expect them to
 somehow get unbroken when ITHREADS is enabled?"
                           -- Gurusamy Sarathy on the perl5-porters list


Reply via email to