Oops, apparently I forgot to p5p. -------- Original Message -------- Subject: Re: RFC: $/="\R"; perl -0R Date: Mon, 15 Jul 2013 18:43:20 +0200 From: Lukas Mai <plokinom@gmail.com> To: Karl Williamson <public@khwilliamson.com> On 15.07.2013 17:30, Karl Williamson wrote: > > I propose to allow $/ to be settable to a special value that indicates > to use the official Unicode record separators. > Setting > > $/ = "\R"; > > would be the programmatic way of doing this. This, however, is legal to > do now, setting the separator to a capital letter R, but it raises a > warning: "Unrecognized escape \R passed through". What would "\R" mean? I.e. what would be returned for length("\R"), ord("\R"), sprintf("%vd", "\R")? I believe $/ = \"R"; is "available" - in the sense that it introduces no new syntax/values; it just introduces another value that is meaningful in $/. -- Lukas Mai <plokinom@gmail.com>