I haven't used Perl in a long time, but I'm guessing that arrays are automatically indexed by integers as opposed to 'anything'. By using the hash array you can use strings as the array indices, too...
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares? Code Samples | People Counting System