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

Re: [perl #80628] [PATCH] __SUB__

Thread Previous | Thread Next
From:
jvromans
Date:
December 13, 2010 00:07
Subject:
Re: [perl #80628] [PATCH] __SUB__
Message ID:
19717.54308.67520.10825@phoenix.squirrel.nl
[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__.

What would be the difference with (caller(0))[3] ?

-- Johan


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