<p>Can someone suggest a good module in perl which can be used to store collection of objects?</p>

<p>Or is ARRAY a good enough substitute for most of the needs?</p>

<p><strong>Update:</strong>
I am looking for a collections class because I want to be able to do an operation like compute collection level property from each element.</p>

<p>Since I need to perform many such operations, I might as well write a class which can be extended by individual objects. This class will obviously work with arrays (or may be hashes).</p>

i would stick with an ARRAY or a HASH.
```
```
@names = ('Paul','Michael','Jessica','Megan');
```
```
and
```
```
my %petsounds = ("cat" => "meow",
             "dog" => "woof",
             "snake" => "hiss");
```
```
source