T
ThERiZla
Hi,
I have a subroutine where I create two hash and I return it. But When
I check
after the subroutine if there is something and my two hash, the first
one is correct but the second one there is nothing in.
I check the two hash before I return it and my informations are in the
two hash.
This is my code:
my (%hash1, %hash2) = createHash();
# print the two hash
sub cresteHash {
# create Two Hash
return (%hash1, %hash2);
}
Anyone can explain me the method to do this ?
Thanks
I have a subroutine where I create two hash and I return it. But When
I check
after the subroutine if there is something and my two hash, the first
one is correct but the second one there is nothing in.
I check the two hash before I return it and my informations are in the
two hash.
This is my code:
my (%hash1, %hash2) = createHash();
# print the two hash
sub cresteHash {
# create Two Hash
return (%hash1, %hash2);
}
Anyone can explain me the method to do this ?
Thanks