Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
I set up tied arrays just like I do tied scalars, but I have extra methods to create since I can do more with arrays. My implementation has to handle the array operators (shift, unshift, push, pop, splice) as well as the other array operations we often take for granted:
Getting or setting the last array index
Extending the array
Checking that an index exists
Deleting a element
Clearing all the values