See
Tie::Array::Iterable, a module I wrote in which the key object variable can not only be treated as an array, but as an object as well. The key is that you'll want to create a special array object via a new method, in which you do the necessary tie'ing to make things work.
-----------------------------------------------------
Dr. Michael K. Neylon - mneylon-pm@masemware.com
||
"You've left the lens cap of your mind on again, Pinky" - The Brain
"I can see my house from here!"
It's not what you know, but knowing how to find it if you don't know that's important