H
HM
Here is my scenario, I have two variables, an account number and an
array of dollar prices. I am storing them in an array such as:
my @values = (1, 2, 3, 4, 5, 6);
my $accno = 55;
my $n = 6;
my @funds = (
{'acc'=>$accno, 'dol'=>[@values], ‘num’=>6},);
I will be adding more (unique) account numbers and their associated
dollar values to my hash in the program. My problem is I am having
trouble walking through @values (one by one) based on accno and
storing them in another array (@tmp). I appreciate any help with
this.
array of dollar prices. I am storing them in an array such as:
my @values = (1, 2, 3, 4, 5, 6);
my $accno = 55;
my $n = 6;
my @funds = (
{'acc'=>$accno, 'dol'=>[@values], ‘num’=>6},);
I will be adding more (unique) account numbers and their associated
dollar values to my hash in the program. My problem is I am having
trouble walking through @values (one by one) based on accno and
storing them in another array (@tmp). I appreciate any help with
this.