in reply to How to use variable in Hash title

thanks for the quick responses!
making an array of incrementing hashes sounds practical
sounds easy, but I am unsure how to properly do this - do I inclue the "%" - the book I have doesnt cover any of these examples, and it's late (oops early!) I am sleep deprived, and learning

let me describe further: I have an array named @filennames that contains hundreds of files. I want to create a hash for each filename to store other linked data like $date, $owner, $permissions, etc. so I can call the keys individually later..
can someone please describe both the method of making the proper array of hashes, hash key entries, and how to call the hash keys individually later in the file? pretend you are teaching a 12 yr old student :)
Thanks again!!

Replies are listed 'Best First'.
Re: Re: How to use variable in Hash title
by tommyw (Hermit) on Aug 15, 2002 at 16:07 UTC

    Have a look at perllol, which is Lists of Lists, ie 2-D arrays, and not precisely what you want, but is fairly readable, and more specifically at perldsc, the data structures cookbook, which covers nested data structures in general.

    --
    Tommy
    Too stupid to live.
    Too stubborn to die.