in reply to Passing Hashes

Pass hashref like this:

return \%dat;

On the caller side, receive it like this:

$dat = retrive->gather();

But better "use strict" in your code, and my your variables.