Re: DT::F::Strptime dependency in DT::Builder

2003-08-07 Thread Rick Measham
At 9:31 AM -1000 6/8/03, Joshua Hoblitt wrote:
  : I was recently doing lots of virgin builds and noticed a faulty
 : dependency being triggered:
 :  DateTime::Format::Builder - DT::F::Strptime - DT::Language
 :
 : This fails since some of those are no longer on CPAN.
 Yes, and therefore also breaks the beta version of Time::Piece because
 of its reliance on DT::F::Strptime.
Hi Rick,

I sent you a patch that fixes this sometime ago.  I believe you were 
still having e-mail troubles at the time.  Did you receive it? 
Should I resend it?

Nah, I got it and I applied it. I've also updated StrpTime to handle 
%c, %x and %X. However I've not tested it to the point that I'm 
convinced to release it. I was going to test it this week, however 
I've not been near my dev machine. I've attached it to this email as 
it stands at the moment. People who *need* it should consider 
installing it and testing it. It passes the provided tests but I'm 
not sure I'm testing all that I should.

PLEASE DON'T INSTALL THIS IF YOU DON'T NEED IT. THIS IS NOT AN 
OFFICIAL RELEASE!

If anyone does install it, let me know if there's any problems. I 
should get around to a proper release this weekend. This weekend's 
release should have neater internals than the attached. It currently 
uses Joshua's patches which means everything locale related is called 
language. On the weekend I'll change it to locale and make *language 
an alias of *locale. This wont change behaviour, just make the 
internals neater.

Changes in this version: Patterns are recalculated when the locale is changed.

Cheers!
Rick
--

There are 10 kinds of people:
  those that understand binary, and those that don't.

  The day Microsoft makes something that doesn't suck
is the day they start selling vacuum cleaners

Write a wise proverb and your name will live forever.
   -- Anonymous


DateTime-Format-Strptime.tar.gz
Description: Binary data


Re: leap seconds in XS

2003-08-07 Thread Joshua Hoblitt
 I suspect updates to it will be quite infrequent, though.  Other than new
 leap seconds, why else would it change?

I hadn't read ahead in my email.  I was concerned about the functionality being 
folding into the DT namespace and the DT::Leapsecond interface disappearing.  That 
didn't happen so I don't have any concerns. :)

-J

--


[Test Report] RE: ANNOUNCE: DateTime 0.1601

2003-08-07 Thread Hill, Ronald
Hi Dave,

 0.1601  2003-08-07
 
 [ BUG FIXES ]
 
 F:\perl_modules\DateTime-0.1601nmake test
[snipped]
All tests successful, 4 subtests skipped.
Files=26, Tests=1455, 12 wallclock secs ( 0.00 cusr +  0.00 csys =  0.00
CPU)

Looks good :)

Ron Hill


Re: DateTime Performance

2003-08-07 Thread Tim Bunce
On Mon, Aug 04, 2003 at 11:32:15PM -0500, Dave Rolsky wrote:
 
  Maybe that looks more sane to you?
 
 What makes no sense is for BEGIN to show up as a significant chunk of the
 time it would take to do anything, since this stuff should only happen
 once.  I'm somewhat skeptical that Devel::DProf is working, or works
 properly at all in general.

It's working okay but unhelpfully... Devel::DProf records the name of the
sub only when it's first called (naturally, for performance reasons).

The problem with BEGIN blocks is that they're called once *then freed*
and then the same address is then reused for the next sub definition.

Probably easy to fix but I've never had the time.

Tim.