I think this works because lexical variables are only cleaned up at the end of their scope, as every lexical variable ends up in the CvPADLIST structure (cf. pad.c and perlintern where I found this). The CvPADLIST is an array and not a hash, as far as I understand it.
Please provide an example where the code is not broken.
I showed what you requested, an example where the code is demonstrably not broken.
In reply to Re^10: "my" declaration problem
by Corion
in thread "my" declaration problem
by Hosen1989
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |