develooper Front page | perl.perl5.porters | Postings from July 2016

Re: Indented here docs?

Thread Previous | Thread Next
From:
ilmari
Date:
July 3, 2016 20:31
Subject:
Re: Indented here docs?
Message ID:
d8j7fd2cvl6.fsf@dalvik.ping.uio.no
Father Chrysostomos <sprout@cpan.org> writes:

> Paul Johnson wrote:
>> On Sun, Jul 03, 2016 at 03:28:56PM -0400, Matthew Horsfall (alh) wrote:
>> 
>> > Aside from the above, do we have a decision/consensus on if we need a
>> > deprecation cycle for the existing behaviour of <<-EOF / <<-"EOF" etc?
>> > (which, as far as I can tell, is to throw a warning and then
>> > eventually fail compilation? Or are there some cases where this is
>> > legal somehow?
>> >
>> > Also, is this going experimental for 5.26?
>> 
>> I suppose that one option is to have a deprecation cycle in 5.26, and
>> also add this as experimental option which would silence those
>> deprecation messages.  Then we might want to relax our rules about two
>> stable releases and remove the experimental status in 5.28.
>
> The existing behaviour of <<- is already deprecated.  I think we can
> go ahead and change it.

Just a data point: it's been deprecated since 5.002, i.e. for over 20
years.  As far as I can tell it's the second-oldest deprecation still in
place in toke.c, after comma-less variable lists in formats, which was
deprecated in 5.000.

-- 
"I use RMS as a guide in the same way that a boat captain would use
 a lighthouse.  It's good to know where it is, but you generally
 don't want to find yourself in the same spot." - Tollef Fog Heen


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