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:
Tony Cook
Date:
November 13, 2008 23:29
Subject:
Re: PATCH [perl #59342] chr(0400) =~ /\400/ fails for >= 400
Message ID:
20081114072838.GA25232@mars.tony.develop-help.com
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 */

"


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