in reply to Subs: Pass references or return them?
I personally prefer the 1st method of passing back actual values. I think that this is much simplier than the other(not that the others are all that complicated). The other methods will work also, because perl won't reap the data until all references to it are gone.