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

Re: Proposal: Rename utf8::is_utf8() to utf8::is_upgraded()

Thread Previous | Thread Next
From:
Zefram
Date:
February 21, 2017 03:56
Subject:
Re: Proposal: Rename utf8::is_utf8() to utf8::is_upgraded()
Message ID:
20170221035557.GP6573@fysh.org
Karl Williamson wrote:
>The problem for me is that 'upgraded' is overloaded.  sv_upgrade() 'upgrades'
>but has nothing to do with this really.

Ah, so it is.  That's unfortunate.  But the usage supplied by
sv_upgrade() is much less prevalent than the usage concerned with
string representation.  If the clash needs to be resolved, it should
probably be done by renaming sv_upgrade(), not by changing or avoiding
the string-related usage.

>I have found this confusing

I haven't.

-zefram

Thread Previous | Thread Next


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