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 02:33
Subject:
Re: [perl #80628] [PATCH] __SUB__
Message ID:
19717.63053.79224.315642@phoenix.squirrel.nl
[Quoting demerphq, on December 13 2010, 10:48, in "Re: [perl #80628] [P"]
> This is why i proposed using a $^THIS_SUB "magic tied var" for the purpose.

Sounds like a very good idea to me.

My main objection against __SUB__ is that __XXX__ things are currently
compile time constants, hence we must avoid introducing __XXX__ things
that are not. It doesn't contribute to Perl's popularity.

-- 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