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

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

Thread Previous | Thread Next
Aristotle Pagaltzis
September 2, 2011 00:56
Re: RFC: Second attempt at POSIX::strptime() in core
Message ID:
* Nicholas Clark <> [2011-08-30 18:50]:
> 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.
> We had "fun" for a while when the (newly added)
> Socket::inet_pton() was not compatible with the inet_pton() that
> Socket6 had provided for some years. Commit 3aca805b785501fb fixed
> this. I don't want to repeat such "fun".

The new strptime would be a function. The existing one is a method.
I don’t think this concern applies. And I don’t think it applies at
all to methods on objects too different for Liskov to apply.

Aristotle Pagaltzis // <>

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