Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
References for ano subs fixed at compile time?by LanX (Saint) |
on Jun 18, 2013 at 18:54 UTC ( [id://1039629]=perlquestion: print w/replies, xml ) | Need Help?? |
LanX has asked for the wisdom of the Perl Monks concerning the following question:
Hi 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
Cheers Rolf ( addicted to the Perl Programming Language)
Back to
Seekers of Perl Wisdom
|
|