perl-5.38.0
format

Declare a picture format for use by the write function. For example:

write 関数で使うピクチャーフォーマットを宣言します。 例えば:

    format Something =
        Test: @<<<<<<<< @||||| @>>>>>
              $str,     $%,    '$' . int($num)
    .

    $str = "widget";
    $num = $cost/$quantity;
    $~ = 'Something';
    write;

See perlform for many details and examples.

詳細と例については perlform を参照してください。