The general technique used is of the form for my $key (sort keys %hash) {...}. You need the sort if sorted order is important. In general you get the keys back in some arbitary order which is neither inserted or sorted order.
$key is used to access the file information: file_attachments{$key}. You then need to retreive the individual fields as: file_attachments{$key}{'price'} etc.
In reply to Re: Looping through hash of hashes
by GrandFather
in thread Looping through hash of hashes
by minixman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |