in reply to Error cannot locate TIEHASH

You trie to tie a variable to an empty class. You haven't shown the code, but likely, line 78 looks like:

tie %foo, '', ...
or
tie %foo, $bar, ... # and $bar is empty

So you will now have to find out why you're trying to tie something to the empty class (the main program). Likely, you're just missing the tie-class parameter in that line.