rir has asked for the wisdom of the Perl Monks concerning the following question:
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.
Given an array what is the best way to return it as a list?
Other than punning existing functions are there good reasons to return a list instead of an array?
Back to
Seekers of Perl Wisdom