develooper Front page | perl.perl5.porters | Postings from August 2011

Re: RFC: Second attempt at POSIX::strptime() in core

Thread Previous
Paul LeoNerd Evans
August 31, 2011 12:01
Re: RFC: Second attempt at POSIX::strptime() in core
Message ID:
On Tue, Aug 30, 2011 at 04:01:37PM +0100, Nicholas Clark wrote:
> I really don't want to have 2 contradictory implementations of strptime()
> in the core. My hunch is that there will be a way to achieve both desires,
> but I don't have any insight yet on *how*. I suspect it comes down to the
> right interface for adding the actually-useful semantics.

Well, such things as strftime already exist once in POSIX and once in
Time::Piece. I suspect there'll be a way to make the API for strptime as
similar looking as possible between the two, while still allowing the
plain list form in POSIX and the structural object in Time::Piece.

Paul "LeoNerd" Evans
ICQ# 4135350       |  Registered Linux# 179460

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About