passing hash data from one subroutine to another using refs



Hi

Would someone please clear up / help me understand this.

I have a hash

my %allTariffData = {};

and in my sub

I have
my %tariffData = {};
	do the processing etc
	and then
return \%tariffData;

I now would like to use that data that in tariffData in another subroutine.

Would anyone be so kind as to share how I would go about this.

I can pass the whole hash, but that would not be right.

Kind Regards and thanks in advance
Brent Clark


.