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

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

Thread Previous | Thread Next
From:
Michael G Schwern
Date:
July 17, 2009 17:30
Subject:
Re: Deprecating ' as a package separator [Another overdue deprecation]
Message ID:
4A61178E.2020601@pobox.com
Ben Evans wrote:
> On Thu, Jul 16, 2009 at 9:41 PM, Jesse Vincent <jesse@fsck.com> wrote:
> 
>> On Thu 16.Jul'09 at 16:30:15 -0400, George Greer wrote:
>>> Can we finally get rid of $site'var rather than $site::var?
>> I, for one, would be very sad to see ' as a package separator vanish.
>>
> 
> OK, I'll bite.
> 
> Why?

I don't see a down side to leaving it in the language.  It isn't harming
anything.  It isn't causing newbie confusion.  We're not clamoring to make it
mean something else.

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

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.


-- 
191. Our Humvees cannot be assembled into a giant battle-robot.
    -- The 213 Things Skippy Is No Longer Allowed To Do In The U.S. Army
           http://skippyslist.com/list/

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