I was going to answer this but it didn't answer the question. Perhaps some hacking about with PadWalker? Braver souls could implement a CHECK time function to walk all over the generated code and look for duplicated lexical names.
Added I mean to say that while I don't know of any already implemented code, nothing that I'm aware of prevents someone (else) from creating it.
In reply to Re: Prohibiting redeclaration of lexicals in inner scope
by diotalevi
in thread Prohibiting redeclaration of lexicals in inner scope
by JohnLon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |