develooper Front page | perl.perl5.porters | Postings from November 2008

Re: PATCH [perl #59342] chr(0400) =~ /\400/ fails for >= 400

Thread Previous | Thread Next
From:
Tom Christiansen
Date:
November 14, 2008 12:18
Subject:
Re: PATCH [perl #59342] chr(0400) =~ /\400/ fails for >= 400
Message ID:
21119.1226693889@chthon
>On Thu, Nov 13, 2008 at 11:02:50PM -0700, karl williamson wrote:
>> changed by that.  A leading 0 may have been so required before 
>> standardization.  I now regret throwing my first edition K&R away when 
>> the standard came out.)

>p35 K&R first edition:

>"... In addition, an arbitrary byte-sized bit pattern can be generated
>by writing

>   '\ddd'

>where ddd is one to three octal digits, as in:

>   #define   FORMFEED  '\014'  /* ASCII form feed */

>"

Andrew said that using all three digits usually dodged the
ambiguity.  Perhaps I misconstrued to mean that you had
to use them all, whereas he may have meant that one should.

He just walked past me, but I'm not ready to chase down 
that subject again.

Talking about collation sequences was another big topic here,
but well, more on that later.

--tom

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