in reply to Array of hashes

Here's the answer to a question you didn't ask but may want to: if you want to see what's in your array of hashes or other comples data structure (e.g. to find out whether you created it successfully) then this will give you happiness:
use Data::Dumper; print Dumper(\@your_array);
NB, this is a snippet - I assume you have created your array under strict etc (I say this to protect myself from the wrath of sibling monks!).

§ George Sherston