passing hash data from one subroutine to another using refs
- From: bclark@xxxxxxxxxxxxxxxxxxxx (Brent Clark)
- Date: Thu, 28 Jul 2005 12:25:06 +0200
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
.
- Prev by Date: Strange compilation error.
- Next by Date: Re: Adding a library to @INC
- Previous by thread: Strange compilation error.
- Next by thread: Compiling Perl with Watcom
- Index(es):