In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Mark Stosberg) wrote:
> "Scott R. Godin" wrote: > > > > In article <[EMAIL PROTECTED]>, > > [EMAIL PROTECTED] (Dominique Dumont) wrote: > > > > > [EMAIL PROTECTED] (Scott R. Godin) writes: > > > > Thanks. First seriously constructive response I've gotten. Was beginning > > to think no one reads this list anymore :) > > > > > > just a bit of silliness I conconcted while reading Damian's OOP... Your > > > > thoughtful appraisal and suggestions would be most welcome. I'm still > > > > experimenting with it off and on. :-) > > > > > > This module could be useful. I don't see any reason to not upload it. > > > Except that the name would be better as Time::Elapsed (which would fit > > > with the other Time::* modules). > > Hello Scott, > > It seems to me this module covers the same problem space as the > Benchmark module, as it's used like this: > > use Benchmark; > $t0 = new Benchmark; > # ... your code here ... > $t1 = new Benchmark; > $td = timediff($t1, $t0); > print "the code took:",timestr($td),"\n"; Sort of.. :) > If I recall, your module took a slightly different approach by reporting > the time it takes for a variable to change. I basically just abstracted out some of the processes involved to make using it simpler, and process the resulting output in a different way, but it does do more than simply document "how long it takes a variable to change". It depends on what you've got going on in between when you initialize the variable and when you print it. :-) print pack "H*", "4a75737420416e6f74686572204d61635065726c204861636b65722c0d"; -- Scott R. Godin | e-mail : [EMAIL PROTECTED] Laughing Dragon Services | web : http://www.webdragon.net/ It is not necessary to cc: me via e-mail unless you mean to speak off-group. I read these via nntp.perl.org, so as to get the stuff OUT of my mailbox. :-)
