in reply to How do I get a reference to a subroutine return value?

Do you mean:
myfunc( return => [ $query->param('return') ], authors => [ $query->param('authors') ], # ... );