in reply to Merging 2 hashes - updated again
instead. That way you are iterating over what were the items in the hash before you began iterating.foreach my $key (keys %hash) { my $val = $hash{$key}; ... }
Oh, and you should really format posts before putting 'em up. Use the "Preview" button; it's your friend. Updated: thanks!
|
|---|