in reply to when to use lists/hash vs references?

Basically, the question is, should you use an array of deeply nested structures, or a reference to an array of d.n.s.?

I occasionally use an array, if I'm certain it will be created, used and destroyed all within one routine. If you're going to pass it around, you're going to pass the reference, anyway, so might as well create the reference and store it in a scalar.

--
TTTATCGGTCGTTATATAGATGTTTGCA

  • Comment on Re: when to use lists/hash vs references?