Other monks have given you some pointers to perl data structures. I thought that I'd take a moment and point you to a couple of books on the subject that are pretty good. They're oldies but goodies:
In reply to Re: data structures
by roboticus
in thread data structures
by perlsyntax
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |