Front page | perl.perl5.porters |
Postings from July 2016
Re: Indented here docs?
Thread Previous
|
Thread Next
From:
Father Chrysostomos
Date:
July 3, 2016 20:04
Subject:
Re: Indented here docs?
Message ID:
20160703200440.19119.qmail@lists-nntp.develooper.com
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. The reason I brought up the experimental pol-
icy was so that it would not be overlooked. If we feel confident that
the behaviour will not change (it does appear to me that way), then I
think we can go ahead and change the behaviour of <<-, especially
since we have found no instances on CPAN.
print <<-8,"\n";
50
__END__
Use of bare << to mean <<"" is deprecated at - line 1.
42
Thread Previous
|
Thread Next