in reply to
Best way to return array or hash?
Returning an array directly copies it, so if your arrays are large or you're doing it often, use references instead.
Comment on
Re: Best way to return array or hash?
In Section
Seekers of Perl Wisdom