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
In Section
Seekers of Perl Wisdom