Thanks for the replies. As I wrote a few scripts, I am getting familiar with the "hash" concept and Perl. But this is where it becomes confusing:
For the same hash I pasted in my first post, whenI print $attributes I get:
Now, is a HASH an array itself?