Store the value and it's associated line name together in the same variable as a hash.
while(<DATA>) { ($name,@values) = split /,/; push @list, {name=>$name, value=>$_ } for @values }
Perform your processing on $list[n]->{value}.
In reply to Re: Linking data together
by GotToBTru
in thread Linking data together
by perlUser345
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |