in reply to Scope, package, and 'my' variables
I don't think any programming language behaves this way if it allows it. The latter declarations always overwrite the earlier ones. In perl, lexical scoped variables are not affected by packages.To me it would seem that if I'm getting a message about a new 'my' dec +laration of a variable, that the new declaration would be ignored and + the previous value would still be in effect
|
|---|