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

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

Thread Previous
From:
Paul LeoNerd Evans
Date:
August 31, 2011 12:01
Subject:
Re: RFC: Second attempt at POSIX::strptime() in core
Message ID:
20110831190141.GD18491@cel.leo
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

leonerd@leonerd.org.uk
ICQ# 4135350       |  Registered Linux# 179460
http://www.leonerd.org.uk/

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About