Front page | perl.perl5.porters |
Postings from April 2007
Re: perlrebackslash
Thread Previous
|
Thread Next
From:
Larry Wall
Date:
April 12, 2007 15:03
Subject:
Re: perlrebackslash
Message ID:
20070412215049.GA25578@wall.org
On Thu, Apr 12, 2007 at 10:05:07PM +0100, Nicholas Clark wrote:
: On Thu, Apr 12, 2007 at 11:01:13PM +0200, Abigail wrote:
: > On Thu, Apr 12, 2007 at 10:51:51PM +0200, Juerd Waalboer wrote:
:
: > > Can anyone come up with a acceptable use of \C?
: >
: >
: > Yves pointed out that \C was actually already introduced in 5.8.
: >
: > Removing wouldn't be possible without a deprecation cycle.
:
: Personally, I'd be quite happy to see it deprecated then dead.
Me too, especially since \C just means a negated \c in Perl 6.
(And \c not only does control characters but also takes over from
Perl 5's \N to represent named characters; in Perl 6 \N is just a
negated \n. (And \n is logical newline, which the Unicode standard
suggests using \R for, but in Perl 6 \R is just a negated \r, because
we're not trying for backward compatibility with regex culture,
and as you can see from the above Perl 6 is pretty serious about
reserving uppercase for negations.))
Not suggesting Perl 5 can take it this far (at least, not without a
/p6 modifier), but I'm just pointing out the direction we're taking
for simplification over the long term so that maybe we can avoid
adding any unnecessary psychological collisions between p5 and p6.
Larry
Thread Previous
|
Thread Next