in reply to Prohibiting redeclaration of lexicals in inner scope

Apparently, this has not been a feature someone cared enough about to hack the core or write a module. JohnLon - if you really want this behavior, write the module (or the patch) and upload it to www.cpan.org. I'm sure that you aren't the only one who would be interested in this.

If you do go ahead and write this - make it a lexically scoped directive, similar to strict and warnings.

------
We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.

Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.

  • Comment on Re: Prohibiting redeclaration of lexicals in inner scope