perl-5.38.0
__SUB__

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

現在のサブルーチンのリファレンスを返す特殊トークン; サブルーチンの外側では undef

The behaviour of __SUB__ within a regex code block (such as /(?{...})/) is subject to change.

(/(?{...})/ のような) 正規表現コードブロックの中の __SUB__ の振る舞いは変更される予定です。

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

このトークンは use v5.16 または "current_sub" 機能 でのみ 利用可能です。 feature を参照してください。