develooper Front page | perl.perl5.porters | Postings from June 2013

Re: [perl #118511] Use of bare << to mean <<"" is deprecated - make ahard error

Thread Previous | Thread Next
From:
Leon Timmermans
Date:
June 27, 2013 14:49
Subject:
Re: [perl #118511] Use of bare << to mean <<"" is deprecated - make ahard error
Message ID:
CAHhgV8gr_NXz1zwOLnmm=2VBXmb24VqHfFuEydf8D+340Y5aKg@mail.gmail.com
On Mon, Jun 17, 2013 at 1:15 PM, Ed Avis <perlbug-followup@perl.org> wrote:
> For a long time Perl has issued a warning
>
>     Use of bare << to mean <<"" is deprecated
>
> This has been deprecated for a very long time and it could now
> be made a syntax error.

I think it may not be entirely obvious to the casual reader that this
discussion is about

  print <<;
  Hello world

  exit 0;

And not about

  print <<END;
  Hello world
  END
  exit 0;

Leon

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