develooper Front page | perl.perl5.porters | Postings from May 2010

Re: PATCH: [perl #58182] partial, "The Unicode Bug". Add unicodesemanticsfor \s, \w

Thread Previous | Thread Next
From:
Steffen Mueller
Date:
May 20, 2010 00:30
Subject:
Re: PATCH: [perl #58182] partial, "The Unicode Bug". Add unicodesemanticsfor \s, \w
Message ID:
4BF4E500.4080401@cpan.org
Hi all,

Zefram wrote:
> Eric Brine wrote:
>> Since L<feature> is used to introduce features that are not backwards
>> compatible, using C<< -E'...' >> instead of C<< -e'use 5.014; ...' >> may
>> result in broken code when Perl is upgraded.
> 
> I thought that was implicit, and very obviously so, in the definition
> of -E.  It's the inherent tradeoff, the price one pays for having such
> a short shorthand.  But I wouldn't object to it being made explicit.

I agree with Zefram. This backwards-incompatible behavior is the *whole 
point* of -E.

FWIW, I think documenting the current equivalent of -E (i.e. -e 'use 
5.0XX;') is at best adding noise to the documentation. The perl core may 
have many problems but certainly, none of those is *lack* of docs.

Cheers,
Steffen

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