On Wed, Jan 31, 2001 at 04:25:46PM +0100, Bart Lateur wrote: > On Wed, 31 Jan 2001 08:53:13 -0600, Jarkko Hietaniemi wrote: > > >So nice of you to volunteer for being our help desk person man for > >explaining to people why their time() just got broken :-) > > I'd use the same function name for both the integer version of time(), > and the hires version. All you need is an optional parameter, whicch, if > true, makes time() return a float. > > $a = time(); #same as now > $b = time(undef) # idem Sure. And time({}) will as logically return time in Mayan calendar? > $c = time(1) # hires > > -- > Bart. -- $jhi++; # http://www.iki.fi/jhi/ # There is this special biologist word we use for 'stable'. # It is 'dead'. -- Jack Cohen
- Re: Why shouldn't sleep(0.5) DWIM? Branden
- Re: Why shouldn't sleep(0.5) DWIM? Jarkko Hietaniemi
- UNIX epoch issues (Re: Why shouldn't sleep(0.5)... Nathan Wiger
- Re: UNIX epoch issues (Re: Why shouldn't sl... Dave Storrs
- Re: Why shouldn't sleep(0.5) DWIM? Branden
- Re: Why shouldn't sleep(0.5) DWIM? abigail
- Re: Why shouldn't sleep(0.5) DWIM? Branden
- Re: Why shouldn't sleep(0.5) DWIM? James Mastros
- Re: Why shouldn't sleep(0.5) DWIM? Jarkko Hietaniemi
- Re: Why shouldn't sleep(0.5) DWIM? Bart Lateur
- Re: Why shouldn't sleep(0.5) DWIM? Jarkko Hietaniemi
- Re: Why shouldn't sleep(0.5) DWIM? Branden
- Re: Why shouldn't sleep(0.5) DWIM? abigail
- Re: Why shouldn't sleep(0.5) DWIM? Dan Sugalski
- Re: Why shouldn't sleep(0.5) DWIM? Michael G Schwern
- Re: Why shouldn't sleep(0.5) DWIM? Jarkko Hietaniemi
- Re: Why shouldn't sleep(0.5) DWIM? Michael G Schwern
- Re: Why shouldn't sleep(0.5) DWIM? abigail
- Re: Why shouldn't sleep(0.5) DWIM? Simon Cozens
- Re: Why shouldn't sleep(0.5) DWIM? Andy Dougherty
- Re: Why shouldn't sleep(0.5) DWIM? Dan Sugalski