Hi all. Here's the problem I have:
in my main application I declare a hash called returnVals.
I call a subroutine &createExcelChart that passes the hash in as *returnVals. In the module (I've called the parameter returnVals and then returnValues to make it different than the calling program) I set the hash value of ExtendedName to a value and shortly after return to the calling program. When I print the value on the main (calling) program I don't get anything and it has no keys at that point. At the end of the module's subroutine I print the value and key fine. Can anyone suggest what I can do to solve this problem (which looks like a scope problem)? I have 2 other hashes used pretty much the same way (i.e. declared, passed to the sub, assigned, and returned) and they "seem" to work fine except those other 2 hashes are declared before calling the subroutine and their values remain unchanged in the sub. The values from these 2 hashes are accessed fine within the sub as well.