in reply to Correct syntax to access an array slice within a hash within a hash

Just a quick thanks to all who offered replies. I really appreciate it!

As far as that bit of code, yes I know it didn't have use strict there - it was simply test code, nothing more.

I'm writing an image map program in Perl/Tk and my structure is a hash with a hash and an array.

I did initially try the array structure as was pointed out as I was indexing by integer but ran in to difficulties with it and settled on the hash.

Hopefully I will have the bugger finished here in the next day or two and will post it to Cool Uses for Perl.

Again, thanks for all the help!

  • Comment on Re: Correct syntax to access an array slice within a hash within a hash