perlquestion
rir
In my code I will usually return arrayrefs. Occasionally I
will return an array. I can't remember ever returning
a list.
This seems sensible and also normal practice,
except for core perl funcs that are advertised to return
lists.
<p>
Given an array what is the best way to return it as
a list?
<p>
Other than punning existing functions are there good
reasons to return a list instead of an array?