in reply to multiple files and hashed

Why would you want to do that when Perl offers arrays of hashes? In the POD, the Perl Datastructure Cookbook ought to get you going along those lines. Imagine a datastructure that looks like this (pseudocode):

@lookup = ( { id => value, another_id => value, }, { id => value, #etc } );

With that structure, you could access the inner hashes like this:

my $value = $lookup[0]->{id};

What you're asking can be done, but should not be done. You don't have one of those extremely rare special cases that justifies using symbolic references. Real references are a better way to accomplish the task you're trying to achieve.


Dave