http://www.perlmonks.org?node_id=593563


in reply to returning tied array

TieVariable() returns a reference to your tied array. That's as good as you're going to get. There are tricks like alias which will let you alias your array reference into an array. There are other glob-assignment tricks which I simply cannot recommend so I mention them only to say that if you see one, it's not a good idea.

⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊