develooper Front page | perl.perl5.porters | Postings from July 2017

Re: [perl #131685] Rename utf8::is_utf8() (and other functions)

Thread Previous | Thread Next
Sawyer X
July 3, 2017 17:04
Re: [perl #131685] Rename utf8::is_utf8() (and other functions)
Message ID:

On 07/01/2017 01:52 PM, Leon Timmermans wrote:
> On Sat, Jul 1, 2017 at 7:45 PM, < <>>
> wrote:
>     On Saturday 01 July 2017 19:13:30 you wrote:
>     > to break a decade and a half of software.
>     Hm? What you mean with to break? Existing functions would still work,
>     just there are also new functions under new names. Usage of old
>     functions is just removed from documentation.
> Then I misunderstood your proposal, "rename" suggested to me that the
> old ones disappear. In that case I'm not sure I see the benefit of
> your proposal. Why would anyone want to use an interface that won't
> work on perls older than 5.28, and could disappear in a future version
> of perl (since that's the point of Internals::)? This isn't making
> sense to me.

You could support it with Devel::PPPort. It's a simple addition.

However, the problem remains that if someone were to use these new
functions without PPPort, their code would not work on older versions. I
can't see a way around that.

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