develooper Front page | perl.perl5.porters | Postings from March 2013

Re: [perl #116961] Data::Dumper 2.143 tests failures on 5.10.1

Thread Previous | Thread Next
From:
Karl Williamson
Date:
March 8, 2013 18:28
Subject:
Re: [perl #116961] Data::Dumper 2.143 tests failures on 5.10.1
Message ID:
513A2D80.5070203@khwilliamson.com
On 03/08/2013 11:01 AM, James E Keenan via RT wrote:
> On Fri Mar 08 09:58:59 2013, Hugmeir wrote:
>
>>
>> Shouldn't isWORDCHAR(c)'s definition be (isALNUM(c) || *(c) == '_')?
>>
>
> I suspect the answer to that starts with: "Do it in a branch and push to a smoke me."
>
> ---
> via perlbug:  queue: perl5 status: open
> https://rt.perl.org:443/rt3/Ticket/Display.html?id=116961
>


The answer to this is no, and reinforces why I made the change in the 
first place.  isALNUM is identical to isWORDCHAR, but is misleadingly 
named, and that name has led you guys astray.

There is an isALNUMC, as well.  I believe the extra C means that it is 
the C language's version of an alphanumeric.  So this is correct:

  isWORDCHAR === isALNUM === (isALNUMC(c) || *(c) == '_')

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