http://qs321.pair.com?node_id=362828


in reply to An overloaded object and tie

Try looking at Tie::Array.