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

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

Thread Previous | Thread Next
From:
Ben Evans
Date:
July 21, 2009 10:57
Subject:
Re: Deprecating ' as a package separator [Another overdue deprecation]
Message ID:
38a53eb30907211057n3542636ai374a3b647ea4329c@mail.gmail.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? :)

Ben


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