http://qs321.pair.com?node_id=661387


in reply to Accessing hashes in main program from subroutine

hi,

seems like you have a bug in $tData{$key}
this access %tData and NOT referenced hash $tData.

try changing to $tData->{$key} and check again.

BTW, use strict would have told you you're doing something wrong here ...

HTH,
Mickey