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

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

Thread Previous | Thread Next
From:
Steffen Mueller
Date:
June 26, 2013 17:03
Subject:
Re: [perl #118511] Use of bare << to mean <<"" is deprecated - makea hard error
Message ID:
51CB1EE8.7020704@cpan.org
On 06/26/2013 12:44 PM, demerphq wrote:
> 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.

I'm with Yves. Also FWIW.

--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