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:
demerphq
Date:
June 26, 2013 10:45
Subject:
Re: [perl #118511] Use of bare << to mean <<"" is deprecated - make ahard error
Message ID:
CANgJU+Vfpnqq02XRb0tEr3AX+M4+nG-ch9bMU3NpHm=B=umpog@mail.gmail.com
On 17 June 2013 15:33, Father Chrysostomos via RT
<perlbug-followup@perl.org> wrote:
> On Mon Jun 17 04:15:00 2013, eda@waniasset.com wrote:
>> This is a bug report for perl from eda@waniasset.com,
>> generated with the help of perlbug 1.39 running under perl 5.16.3.
>>
>>
>> -----------------------------------------------------------------
>> [Please describe your issue here]
>>
>> 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 would like to see that *un*deprecated.  I see no reason why that
> syntax should cause any problems.  It doesn’t make anything less
> ambiguous to remove it.  (On top of that, it looks nice!)

FWIW I vote against this proposal. It should be an error.

Yves


--
perl -Mre=debug -e "/just|another|perl|hacker/"

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