in reply to problems constructing an array of hashes
In your working example, you deal with the loop variable $image. The non-working example sets up the same variable, but pushes a reference to %image, which is not the same and is never populated. Change to push @image_array, $image; or, more simply, replace the whole loop with my @image_array = $tree->look_down("_tag", "img");
After Compline,
Zaxo
|
|---|