|Think about Loose Coupling|
References for ano subs fixed at compile time?by LanX (Canon)
|on Jun 18, 2013 at 18:54 UTC||Need Help??|
LanX has asked for the
wisdom of the Perl Monks concerning the following question:
I'm pretty sure the answer is yes, but to be sure:
Are the references to anonymous code blocks in Perl always constant, because they are fixed at compile time?
Is it reliably so? I took a look at B::Concised opcode output and as far as could see it seemed so...
Please note that it is not the case for anonymous hashes
( addicted to the Perl Programming Language)