Another guess, is @value_table empty when you try to use it later? If so, you need to declare it outside of your foreach{} block. As in
my @value_table; foreach my $key (@keys){ my $value = $hash{$key}; push @value_table, $value; } #use @value_table for whatever
In reply to Re: list values of specific hash keys
by mikeraz
in thread list values of specific hash keys
by sorenjul
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |