You are viewing the version of this documentation from Perl blead. This is the main development branch of Perl. (git commit bb13a224451c8fbf0b9600bbc3d58cad55b3aec9)
HANDLE->format_name(EXPR)
$FORMAT_NAME
$~

The name of the current report format for the currently selected output channel. The default format name is the same as the filehandle name. For example, the default format name for the STDOUT filehandle is just STDOUT.

Mnemonic: brother to $^.