develooper Front page | perl.perl5.porters | Postings from July 2009

Re: Deprecating ' as a package separator [Another overdue deprecation]

Thread Previous | Thread Next
From:
demerphq
Date:
July 21, 2009 11:02
Subject:
Re: Deprecating ' as a package separator [Another overdue deprecation]
Message ID:
9b18b3110907211101h281d4265oae95ccef6455ddba@mail.gmail.com
2009/7/21 Ben Evans <benjamin.john.evans@googlemail.com>:
> On Tue, Jul 21, 2009 at 4:55 PM, James Laver <james.laver@gmail.com> wrote:
>
>> On Tue, Jul 21, 2009 at 4:44 PM, Paul Fenwick<pjf@perltraining.com.au>
>> wrote:
>> >
>> > Personally, I've had ' cause me many more headaches (always inside
>> strings)
>> > than I've found legitimate uses (always outside of strings, and usually
>> in
>> > Klingon[1]).
>>
>> I've had problems with ' in strings as well, but that's the only
>> circumstance I've ever seen anyone have with it. Does anyone have any
>> other examples?
>>
>> I would be in favour of ditching it in strings, but not elsewhere
>> unless it's really quite awkward maintaining it.
>
>
> No, we want less complexity in the parser, and fewer special cases that
> we'll need to replicate eventually, remember? :)

Id guess, totally off the top of my head, that it is probably already
special cased in strings for some crazy reason or another.

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