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


in reply to Re^3: returning tied array
in thread returning tied array

You can only return scalars and lists and (nothing) from subroutines. You can't return arrays or hashes directly, only as lists or references.

Replies are listed 'Best First'.
Re^5: returning tied array
by AK108 (Friar) on Jan 08, 2007 at 13:57 UTC
    Good point. I updated my above post to correct that.