That should be
Even though $key is automatically localized to the loop, you still need to declare it.foreach my $key (@keys){
In reply to Re: list values of specific hash keys
by Anonymous Monk
in thread list values of specific hash keys
by sorenjul
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |