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

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

Thread Previous | Thread Next
From:
chromatic
Date:
July 20, 2009 15:44
Subject:
Re: Deprecating ' as a package separator [Another overdue deprecation]
Message ID:
200907201543.48551.chromatic@wgz.org
On Friday 17 July 2009 17:30:06 Michael G Schwern wrote:

> chromatic has asserted that it makes the parser more convoluted.  If it
> simplifies code by removing it then I'd be for it.  So I've CC'd him in.

I don't remember exactly what I had to work around with the class patch, but I 
do remember that it bit me.  Something related to the tokenizing of package 
names -- I believe in force_word in toke.c -- went complicated really fast.

Several other spots in the tokenizer check for the tick before checking for 
double colons.  Premature pessimization.

> On the up side it allows some of clever jokes.  sub isn::t {}.  The Klingon
> module.  D'oh.

The Klingon module is a source filter and, thus, irrelevant to this discussion.

-- c

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