in reply to Re: How to return errors from my object oriented subroutine
in thread How to return errors from my object oriented subroutine

I would not return an array, but an array ref. First, it is more efficient, second, because an array is variable length, you can never easily tack on extra return values because the second expected value is not filling one slot in the return list. Using an array ref instead allows
return $results, \@errors, \@thing_I_discovered_I_needed_later;

Carter's compass: I know I'm on the right track when by deleting something, I'm adding functionality

The Emacs Code Browser