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

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

Thread Previous | Thread Next
February 19, 2015 16:48
Re: [perl #123814] grok_atou() for regexp quantifiers
Message ID:
On 20 February 2015 at 00:43, Karl Williamson <> wrote:
> On 02/19/2015 04:59 AM, demerphq wrote:
>> On 19 February 2015 at 12:59, Karl Williamson via RT
>> <> 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.

Ah I see, you mean docs available from perldoc, and I mean docs
available from reading the comment above the function.


perl -Mre=debug -e "/just|another|perl|hacker/"

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