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

Re: Revised PATCH: [perl #75642] Deprecate not having space between pattern and following word

Thread Previous | Thread Next
From:
demerphq
Date:
June 17, 2010 13:12
Subject:
Re: Revised PATCH: [perl #75642] Deprecate not having space between pattern and following word
Message ID:
AANLkTikJWgkjF51xk3seBwb-AlZfOQ3tNamH_viOcHbf@mail.gmail.com
On 17 June 2010 22:04, karl williamson <public@khwilliamson.com> wrote:
>>
>> Things like "/foo/sand bar" will now generate a deprecated warning.
>>
>> I don't think there was any complaint in our discussions of new modifier
>> letters about deprecating words following a pattern without a gap.  I think
>> the above example further shows the problem with the current behavior.
>>
>> This simple patch deprecates this usage.  It does add an extra message if
>> the following word isn't legitimate to the syntax error that comes out next,
>> but I don't think that's worth worrying about, and may give someone a
>> further clue as to where on the line the problem is.

+1

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