Re: Passing Hashes into a function

2002-08-20 Thread John Ross
; my %hash = %$hash_ref; $hash{key} = 0; etc,etc,etc. It appears that that just makes a local copy of the hash, then disposes of that copy at the end of the subroutine. I think I kind of understand why this doesn't work. Thanks again for you help, John -- John Ross Syste

Passing Hashes into a function

2002-08-19 Thread John Ross
ow this works. I am assuming that you pass the hash into the sub by reference, but from there, what? When I modify the hash, the changes don't take. I don't want to "return" the hash, as I don't wan't another copy. Help! John -- John Ross Systems Management Integra