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

Re: [perl #80628] [PATCH] __SUB__

Thread Previous | Thread Next
December 13, 2010 02:33
Re: [perl #80628] [PATCH] __SUB__
Message ID:
[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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About