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

Re: [perl #118701] __PACKAGE__ does not work as a hash key

Thread Previous | Thread Next
From:
Jim Avera
Date:
July 3, 2013 17:41
Subject:
Re: [perl #118701] __PACKAGE__ does not work as a hash key
Message ID:
51D46240.5080102@yahoo.com
On 07/03/2013 04:08 AM, Eric Brine wrote:
> On Tue, Jul 2, 2013 at 9:09 PM, Jim Avera <james_avera@yahoo.com 
> <mailto:james_avera@yahoo.com>> wrote:
>
>     The special __(PACKAGE|FILE|LINE)__ symbols ... it's hard to see
>     how special-casing them to always be treated as string literals
>     with the implied values (and never auto-quote themselves) would
>     make things worse. 
>
>
> You could say exactly the same for `split`, `uc`, etc

Ok, I see your point.   Death, taxes, and ambiguous programming languages.

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