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

Re: [perl #123814] grok_atou() for regexp quantifiers

Thread Previous | Thread Next
From:
Karl Williamson
Date:
February 19, 2015 16:44
Subject:
Re: [perl #123814] grok_atou() for regexp quantifiers
Message ID:
54E612CB.7040003@khwilliamson.com
On 02/19/2015 04:59 AM, demerphq wrote:
> On 19 February 2015 at 12:59, Karl Williamson via RT
> <perlbug-followup@perl.org> wrote:
>> On Wed Feb 18 18:57:43 2015, jhi wrote:
>>> ... it should be possible to try reverting the commit(s) where
>>> grok_atou was introduced, and we would be back to using native atoi().
>>
>> But atoi has more bugs.  Why can't we just take this out of the public API?  We can rename it to begin with an underscore and mark it as experimental, removing the docs, so that tghere is only discouragement for people using it, and the docs say you do so at your own risk
>
> Lets not *remove* the docs. Lets update them appropriately. :-)
>
> Yves
>
>

We should strive for a really good API before releasing it to the 
public.  At this late date, it seems advisable to restrict the use of 
this one to the core given there are complaints about it.

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