develooper Front page | perl.perl5.porters | Postings from December 2010

Re: [perl #80628] [PATCH] __SUB__

Thread Previous | Thread Next
From:
demerphq
Date:
December 13, 2010 01:48
Subject:
Re: [perl #80628] [PATCH] __SUB__
Message ID:
AANLkTik7bV_g48C+iAM25Xkpd30LDzAwuzfD4M_MYk7h@mail.gmail.com
On 13 December 2010 09:07, Johan Vromans <jvromans@squirrel.nl> wrote:
> [Quoting Eric Brine, on December 13 2010, 02:51, in "Re: [perl #80628] [P"]
>> On Mon, Dec 13, 2010 at 2:09 AM, Johan Vromans <jvromans@squirrel.nl> wrote:
>>
>> > More important is whether it is a keyword, or a compile time constant
>> > like __FILE__ and __LINE__.
>> >
>> > -- Johan
>> >
>>
>> As proposed, it's not constant.
>
> Then please do not call it __SUB__.

This is why i proposed using a $^THIS_SUB "magic tied var" for the purpose.

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