I occasionally find it useful to use the same name for a different variable in a nested scope, but far more often it is an error. I would appreciate a warning. Code to suppress the warning when required, would help make the intention clear.
Bill
Comment on Re: Perl Variables storage location and scope question.