__SUB__

A special token that returns the a reference to the current subroutine, or undef outside of a subroutine.

This token is only available under use v5.16 or the "current_sub" feature. See feature.