or download this
In a post-wrapper, $_[-1] contains the return value
produced by the wrapped subroutine. In a scalar return
...
list return context, this value is a reference to the
array of return values. $_[-1] may be assigned to in a
post-wrapper, and this changes the return value accordingly.